This workflow accepts either FASTQ or BAM files as input. The FASTQ or BAM input parameters for this workflow accept one of three cases: (i) the path to a single FASTQ or BAM file; (ii) the path to a top-level directory containing FASTQ or BAM files; (iii) the path to a directory containing one level of sub-directories which in turn contain FASTQ or BAM files. In the first and second cases (i and ii), a sample name can be supplied with `--sample`. In the last case (iii), the data is assumed to be multiplexed with the names of the sub-directories as barcodes. In this case, a sample sheet can be provided with `--sample_sheet`. ``` (i) (ii) (iii) input_reads.fastq ─── input_directory ─── input_directory ├── reads0.fastq ├── barcode01 └── reads1.fastq │ ├── reads0.fastq │ └── reads1.fastq ├── barcode02 │ ├── reads0.fastq │ ├── reads1.fastq │ └── reads2.fastq └── barcode03 └── reads0.fastq ```