Mercurial > repos > bornea > merge_scaffold
annotate MergeFilesWrapper.py @ 11:4882e93ede2d draft
Uploaded
author | bornea |
---|---|
date | Wed, 03 Aug 2016 15:24:01 -0400 |
parents | abe608eb4aa4 |
children |
rev | line source |
---|---|
7 | 1 import sys |
2 import os | |
3 | |
4 infile1 = sys.argv[1] # scaffold report #1 -- filename | |
5 infile2 = sys.argv[2] # scaffold report #2 -- filename | |
6 infile3 = sys.argv[3] # scaffold report #3 -- filename or "False" | |
7 baitfile = sys.argv[4] # Bait file -- filename | |
8 outfile = sys.argv[5] # output filename | |
9 ins_path = sys.argv[6] | |
10 | |
9 | 11 cmd = r"python " + str(ins_path) + " " + str(infile1) + " " + str(infile2) + " " + str(infile3) + " " + str(baitfile) + " " + str(outfile) |
11 | 12 os.system(cmd) |