Skip to content

Commit

Permalink
Merge pull request #246 from maxplanck-ie/fix245
Browse files Browse the repository at this point in the history
Fix #245
  • Loading branch information
dpryan79 authored Sep 3, 2018
2 parents 93fa720 + daf61e7 commit cdef895
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snakePipes/workflows/RNA-seq/RNA-seq
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ def main():
args.SNPfile = os.path.abspath(args.SNPfile)
args.Nmasked_index = os.path.abspath(args.Nmasked_index)
modeTemp = args.mode.split(",")
validModes = set(["alignment", "alignment-free", "deeptools_qc"])
for mode in modeTemp:
if mode not in validModes:
sys.exit("{} is not a valid mode!\n".format(mode))
# deeptools_qc requires alignment as input
if "deeptools_qc" in modeTemp and "alignment" not in modeTemp:
args.mode = "{},alignment".format(args.mode)
Expand Down

0 comments on commit cdef895

Please sign in to comment.