mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-27 05:20:24 +08:00
Halfway done with fix to wrapper.py
This commit is contained in:
parent
384dd72125
commit
93b328306a
@ -149,7 +149,7 @@ def script_five(args):
|
||||
lines = [line.strip().split('\t') for line in open(args.output + '/Output/gcode_output.tsv', 'r')]
|
||||
with open(args.output + '/Output/gcode_output.tsv', 'r') as g:
|
||||
for folder in os.listdir(args.output + '/Output'):
|
||||
if os.path.isfile(args.output + '/Output/' + folder + '/' + folder + '_WTA_EPU.Renamed.fasta'):
|
||||
if os.path.isfile(args.output + '/Output/' + folder + '/' + folder + '_WTA_EPU.Renamed.fasta') and os.path.isdir(args.output + '/Output/' + folder + '/StopCodonFreq'):
|
||||
for line in lines:
|
||||
if line[0] == folder and line[-1].lower() in valid_codes:
|
||||
os.system('python 5_GCodeTranslate.py --input_file ' + args.output + '/Output/' + folder + '/' + folder + '_WTA_EPU.Renamed.fasta --genetic_code ' + line[-1])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user