Distance matrix with different length sequences - novice question
1
0
Entering edit mode
9.6 years ago
mootzk • 0

Hi all,

Real beginner here, so be gentle :)

In a project we're doing (in python), we want to create a distance matrix for a phylogenetic tree with multiple, different length sequences. However, what we've seen so far (AlignIO in biopython, etc.) requires the sequences' length to be equal. Is there any python-ian way to get the matrix with sequences of different length? Or any other indirect way that would get us to the same result.

Thanks,

Nir

distance matrix • 1.9k views
ADD COMMENT
1
Entering edit mode
9.6 years ago
David W 4.9k

You will have to align your sequences before you can make a tree. The biopython tutorial has quite a few examples of how to script sequence alignment programs, and there are hundreds of general introductions to sequence alignment.

ADD COMMENT

Login before adding your answer.

Traffic: 2704 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