This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Non-zero return code 127 from Needle

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 [...]'
emboss needle biopython

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.

0 answers

No answers yet.

Log in to answer this question.