Update guidance_path param

This commit is contained in:
Auden Cote-L'Heureux 2025-04-18 08:48:42 -04:00 committed by GitHub
parent fa1f50e6f0
commit 16a96f137e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,10 +96,10 @@ def run(params):
else:
mafft_alg = 'auto'
#For Guidance v2.1
#For Guidance v2.1. COMMENT OUT THE FOLLOWING LINE IF USING v2.0.2
os.system('python ' + params.guidance_path + '/script/guidance_main.py --seqFile ' + guidance_input + '/' + file + ' --msaProgram MAFFT --seqType aa --outDir ' + tax_guidance_outdir + ' --seqCutoff ' + str(params.seq_cutoff) + ' --colCutoff ' + str(params.col_cutoff) + " --outOrder as_input --bootstraps 10 --MSA_Param '\\--" + mafft_alg + " --maxiterate 1000 --thread " + str(params.guidance_threads) + " --bl 62 --anysymbol' > " + params.output + '/Output/Intermediate/Guidance/Output/' + file[:10] + '/log.txt')
#For Guidance v2.0.2
#For Guidance v2.0.2. UNCOMMENT THE FOLLOWING LINE IF USING v2.0.2
#os.system('Scripts/guidance.v2.02/www/Guidance/guidance.pl --seqFile ' + guidance_input + '/' + file + ' --msaProgram MAFFT --seqType aa --outDir ' + tax_guidance_outdir + ' --seqCutoff ' + str(params.seq_cutoff) + ' --colCutoff ' + str(params.col_cutoff) + " --outOrder as_input --bootstraps 10 --MSA_Param '\\--" + mafft_alg + " --maxiterate 1000 --thread " + str(params.guidance_threads) + " --bl 62 --anysymbol' > " + params.output + '/Output/Intermediate/Guidance/Output/' + file[:10] + '/log.txt')
#Checking for a sequence score file; if not available, Guidance failed.