Pairwise Alignment, Biopython : Bio.pairwise2
1
0
Entering edit mode
6.5 years ago

hello,

I am trying to do pairwise alignment of sequences in my data set. I am currently using Bio.pairwise2 module for this. My data set however, is saved in the files. Is there a way to pass files containing sequences to the paiwise2 as input argument? I know the longer way of reading it and then passing the value but it would really help if there is a direct way to pass file inputs to Bio.pairwise2.

biopython • 2.2k views
ADD COMMENT
0
Entering edit mode
Can you post some of your python code that you have attempted? Also can give a bit more information on the file types and the data you are trying to compare.
ADD REPLY
0
Entering edit mode
In python easiest way is to use sys.argv[1].
ADD REPLY
1
Entering edit mode
6.5 years ago
Peter 6.0k

No, there isn't. You might be interested in calling out to something like EMBOSS needleall instead?

http://emboss.sourceforge.net/apps/release/6.6/emboss/apps/needleall.html

ADD COMMENT

Login before adding your answer.

Traffic: 1606 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6