You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: artic/minion.py
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,15 @@ def run(parser, args):
44
44
)
45
45
raiseSystemExit(1)
46
46
47
+
ifargs.normalise>10000:
48
+
print(
49
+
colored.red(
50
+
"--normalise appears to be an aribtrarily high value, if you wish to not normalise your BAM files set '--normalise 0' to disable normalisation entirely"
51
+
),
52
+
file=sys.stderr,
53
+
)
54
+
raiseSystemExit(1)
55
+
47
56
ifargs.model_dir:
48
57
model_path=args.model_dir
49
58
else:
@@ -169,7 +178,7 @@ def run(parser, args):
169
178
cmds.append(f"samtools index {args.sample}.{p}.trimmed.rg.sorted.bam")
# 9) get the depth of coverage for each readgroup, create a coverage mask and plots, and add failed variants to the coverage mask (artic_mask must be run before bcftools consensus)
0 commit comments