Closed mitchellcheung8 closed 5 years ago
Thanks for report. Would you edit line 153-160 in consensus.rb as shown below.
res, err, status = Open3.capture3(env,
@mafft,
'--nuc',
'--ep', '0.0',
'--op', '1',
'--genafpair',
'--maxiterate', '1000',
tmp.path)
res, err, status = Open3.capture3(env,
@mafft,
'--nuc',
'--ep', '0.0',
'--op', '1',
'--genafpair',
'--maxiterate', '1000',
'--retree', '1',
tmp.path)
Thank you so much for showing me how to modify the parameters.
Best, Mitchell
Thanks a lot!
I was running a targeted ngs experiment using the IMSindel tool. I got an error that indicates that mafft should be run in progressive mode (see error below). I am not familiar with Ruby, how do you add the "--retree 1" argument to the Ruby script that calls the mafft program. Thanks.
=============================================== Traceback (most recent call last):
/home/manager/Desktop/IMSindel-master/lib/ims_indel/consensus.rb:163:in `mafft_consensus': mafft exec error: pid 51562 exit 1 (RuntimeError) mafft stderr: Too many sequences to perform iterative refinement! Please use a progressive method.