docs / workflows / general / bam-to-fastqs / BAM to FASTQs
Workflow

BAM to FASTQs

Converts an input BAM file to one or more FASTQ files, performing QC checks along the way
WDL Version
1.1
Category
Utility
Nested Inputs Allowed
RUN WITH

sprocket run workflows/general/bam-to-fastqs.wdl [INPUTS]...

Inputs

Required Inputs

Name
Type
Description
bam
File
BAM file to split into FASTQs
BAM file to split into FASTQs

Other Inputs

Name
Type
Default
Description
paired_end
Boolean
true
Is the data Paired-End (true) or Single-End (false)?
Is the data Paired-End (true) or Single-End (false)?
true
use_all_cores
Boolean
false
Use all cores for multi-core steps?
Use all cores for multi-core steps?
false

Outputs

Name
Type
Expression
Description
read1s
Array[File]
select_all(bam_to_fastq.read_one_fastq_gz)
Array of FASTQ files corresponding to either first reads (if paired_end = true) or all reads (if paired_end = false)
Array of FASTQ files corresponding to either first reads (if paired_end = true) or all reads (if paired_end = false)
select_all(bam_to_fastq.read_one_fastq_gz)
read2s
Array[File?]
bam_to_fastq.read_two_fastq_gz
Array of FASTQ files corresponding to last reads (if paired_end = true)
Array of FASTQ files corresponding to last reads (if paired_end = true)
bam_to_fastq.read_two_fastq_gz