Entering edit mode
2.8 years ago
Park
•
0
I am struggling with running Needle. What did I do wrong?
from Bio.Emboss.Applications import NeedleCommandline
needle_cline = NeedleCommandline("/opt/anaconda3/envs/SmartBioCode/bin/needle", asequence="needle1.fasta", bsequence="needle2.fasta", gapopen=10.0, gapextend=1.0, outfile="needle.txt") print(needle_cline.outfile)
stdout, stderr = needle_cline() print(stdout + stderr)
ApplicationError: Non-zero return code 127 from '/opt/anaconda3/envs/SmartBioCode/bin/needle -outfile=needle.txt -asequence=needle1.fasta -bsequence=needle2.fasta -gapopen=10.0 -gapextend=1.0', message 'usage: dirname string [...]'
Please past text of your error message, not an image. The contents of an image cannot be indexed for their textual content and that makes it harder for people to come back to this question later on.