Thank you.If I sperate may sequencs , may be I lost the value of multiple alignment
The MUSCLE command line doesn't have an option for returning the pairwise sequence alignment. Is there a way to get those alignment(in python)?
for example if I have three sequences Seq1,Seq2 and Seq3:
Tt gives me the aligned sequences as follows:
s1 and s2
s1 and s3
s2 and s3
2 answers
IMO you'll have to split your sequences into separate input files and run one of these tools for each pair. MUSCLE does not have the option to do combinatorial pairwise alignment.
Do both MSA and pairwise alignments. And yes, you'll need to switch to Linux/OS X to use most of the tools in Bioinformatics
OK. Thank you.I try to use Emboss, when I use NEEDLE, I get the following errors:
From the window of saved Results
Error: Failed to open filename '-noendweight'
Error: Unable to read sequence '-noendweight'
Died: needle terminated: Bad value for '-bsequence' with -auto defined
and this error from the file stderrfile :
Died: Value required for '-bsequence' before '-gapopen'
Could you maybe give us the exact command you used please?
I do it with the software mEMBOSS
OK, but what was the command? Or is mEMBOSS a GUI application?
It is mEMBOSS a GUI application
The tool should ideally write the actual command it used to either the saved results window or the stderr file. Could you check on that please?
This is what I get
Error: Failed to open filename '-noendweight'
Error: Unable to read sequence '-noendweight'
Died: needle terminated: Bad value for '-bsequence' with -auto defined
That's the error. Does the tool write the command it executes to the log just like it writes the error?
I think there is a EMBOSS command named "dismat". You could also use python to call the command needle to get pairwise alignments. However, it would be very slow. I suggest to use vsearch:
vsearch --allpairs_global fastafile --acceptall
vsearch offers a variety of output formats. Disclaimer: I am a member of the vsearch team.
Log in to answer this question.