get_read_groups
Gets read group information from a BAM file and writes it out as JSON which is converted to a WDL struct.
WDL Version
1.1
RUN WITH
sprocket run --name get_read_groups data_structures/read_group.wdldata_structures\read_group.wdl [INPUTS]...
Inputs
Required Inputs
Name
Type
Description
bam
File
Input BAM format file to get read groups from
Input BAM format file to get read groups from
Other Inputs
Name
Type
Default
Description
modify_disk_size_gb
Int
0
Add to or subtract from dynamic disk space allocation. Default disk size is determined by the size of the inputs. Specified in GB.
Add to or subtract from dynamic disk space allocation. Default disk size is determined by the size of the inputs. Specified in GB.
Outputs
Name
Type
Expression
Description
read_groups
Array[ReadGroup]
read_json("read_groups.json")
An array of
ReadGroup
structs containing read group information.An array of
ReadGroup
structs containing read group information.Default Runtime Attributes
Attribute
Value
memory
"4 GB"
disks
"~{disk_size_gb} GB"
container
"quay.io/biocontainers/pysam:0.22.0--py38h15b938a_1"
maxRetries
1