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 {
17
17
18
18
Boolean unmap_bam
19
19
Boolean convert_to_fq = false
20
+ Boolean disable_primrose_check = false
20
21
21
22
String gcs_out_root_dir
22
23
}
@@ -37,6 +38,7 @@ workflow SplitMergedPacBioBamByReadgroup {
37
38
platform : "long reads platform the BAM was generated on; must be one of [PB, ONT]"
38
39
convert_to_fq : "user option to convert to FASTQ (gz) or not"
39
40
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"
40
42
}
41
43
42
44
##############################################################################################################################
@@ -49,9 +51,11 @@ workflow SplitMergedPacBioBamByReadgroup {
49
51
}
50
52
51
53
# 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
+ }
55
59
}
56
60
57
61
# delegate
You can’t perform that action at this time.
0 commit comments