Skip to content

Commit

Permalink
fds
Browse files Browse the repository at this point in the history
  • Loading branch information
SHuang-Broad committed Dec 4, 2023
1 parent 82dad8f commit 80e19c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wdl/pipelines/TechAgnostic/Utility/SplitBamByReadgroup.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ workflow SplitBamByReadgroup {

# basecall_model only applies to ONT, so PacBio data will always get 'None'
Array[String] readgroup_attrs_to_get = ['ID', 'LB', 'PU']
call BU.GetReadGroupInfo { input: uBAM = bam, keys = readgroup_attrs_to_get, null_value_representation = 'None' }
call BU.GetReadGroupInfo { input: bam = bam, keys = readgroup_attrs_to_get, null_value_representation = 'None' }
String rgid = GetReadGroupInfo.read_group_info['ID']
String library = GetReadGroupInfo.read_group_info['LB']
String platform_unit = GetReadGroupInfo.read_group_info['PU']
Expand Down Expand Up @@ -100,7 +100,7 @@ workflow SplitBamByReadgroup {

# convert to FASTQ if so requested
if (convert_to_fq) {
call Utils.BamToFastq { input: bam = bam, prefix = basename(bam, ".bam") }
call BU.BamToFastq { input: bam = bam, prefix = basename(bam, ".bam") }
call FF.FinalizeToFile as SaveFq {
input: file = BamToFastq.reads_fq, outdir = outdir
}
Expand Down

0 comments on commit 80e19c0

Please sign in to comment.