Skip to content

Commit

Permalink
Merge branch 'master' into yf_emit_sv_lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
yfarjoun authored Sep 9, 2024
2 parents 20d57bb + a4af992 commit 97063b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sniffles/sniffles
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def Sniffles2_Main(processes: list[parallel.SnifflesWorker]):
input_ext = [f.split(".")[-1].lower() for f in config.input]

# needed for running on osx
multiprocessing.set_start_method("fork")
if sys.platform == "darwin":
multiprocessing.set_start_method("fork")

if len(set(input_ext)) > 1:
util.fatal_error_main(f"Please specify either: A single .bam/.cram file - OR - one or more .snf files - OR - a single .tsv file containing a list of .snf files and optional sample ids as input. (supplied were: {list(set(input_ext))})")

Expand Down

0 comments on commit 97063b0

Please sign in to comment.