File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
wdl/pipelines/PacBio/Utility Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ workflow SplitMergedPacBioBamByReadgroup {
1717
1818 Boolean unmap_bam
1919 Boolean convert_to_fq = false
20+ Boolean disable_primrose_check = false
2021
2122 String gcs_out_root_dir
2223 }
@@ -37,6 +38,7 @@ workflow SplitMergedPacBioBamByReadgroup {
3738 platform : "long reads platform the BAM was generated on; must be one of [PB, ONT]"
3839 convert_to_fq : "user option to convert to FASTQ (gz) or not"
3940 gcs_out_root_dir : "place to store the result files"
41+ disable_primrose_check : "when true, disable a QC check making sure primrose is run on all readgroups; only do this when you know what you're doing"
4042 }
4143
4244 ##############################################################################################################################
@@ -49,9 +51,11 @@ workflow SplitMergedPacBioBamByReadgroup {
4951 }
5052
5153 # this guarantees that there are no read groups missing primrose runs
52- call PBUtils .VerifyPacBioBamHasAppropriatePrimroseRuns as PrimroseCheck { input : bam = input_bam }
53- if (0 != length (PrimroseCheck .readgroups_missing_primrose )) {
54- call Utils .StopWorkflow as MissingPrimrose { input : reason = "Input BAM file has some of its read groups missing primrose calls." }
54+ if (!disable_primrose_check ) {
55+ call PBUtils .VerifyPacBioBamHasAppropriatePrimroseRuns as PrimroseCheck { input : bam = input_bam }
56+ if (0 != length (PrimroseCheck .readgroups_missing_primrose )) {
57+ call Utils .StopWorkflow as MissingPrimrose { input : reason = "Input BAM file has some of its read groups missing primrose calls." }
58+ }
5559 }
5660
5761 # delegate
You can’t perform that action at this time.
0 commit comments