view MergeFilesWrapper.py @ 11:4882e93ede2d draft

Uploaded
author bornea
date Wed, 03 Aug 2016 15:24:01 -0400
parents abe608eb4aa4
children
line wrap: on
line source

import sys
import os

infile1 = sys.argv[1] # scaffold report #1 -- filename
infile2 = sys.argv[2] # scaffold report #2 -- filename
infile3 = sys.argv[3] # scaffold report #3 -- filename or "False"
baitfile = sys.argv[4] # Bait file -- filename
outfile = sys.argv[5] # output filename
ins_path = sys.argv[6]

cmd = r"python " + str(ins_path) + " " + str(infile1) + " " + str(infile2) + " " + str(infile3) + " " + str(baitfile) + " " + str(outfile)
os.system(cmd)