Home >
Community >
How to create a .phy file for constructing a phylogenetic tree?
Upvote
22
Downvote
+ Bioinformatics
+ Biochemistry
+ Phylogenetics
+ Phylogeny
Posted by
Let us walk together
How to create a .phy file for constructing a phylogenetic tree?
Python works great for tying everything together and file manipulations. I find stepping out of Python, using system calls, best for alignment and tree building. For example:
Python works great for tying everything together and file manipulations. I find stepping out of Python, using system calls, best for alignment and tree building. For example:
, I got "ValueError: Sequences must all be the same length". I'm not sure why, because I explicitly checked that the sequences have the same length. Not sure what to do now :( Any thoughts?More
Possibly it is not a programming issue but formating. There is no simple answer to trouble shoot this. Could you ask this as a separate question please? Obviously it is solvable but there's several possibilities and the Moderators will intervene if there are multiple questions within a threadMore
Python works great for tying everything together and file manipulations. I find stepping out of Python, using system calls, best for alignment and tree building. For example:
Python works great for tying everything together and file manipulations. I find stepping out of Python, using system calls, best for alignment and tree building. For example:
More
VOTE
You simply use Biopython's SeqIO and AlignIO. The documentation is https://biopython.org/wiki/AlignIO etc ... The format you seek is phylip
You simply use Biopython's SeqIO and AlignIO.The documentation is https://biopython.org/wiki/AlignIO etc ...The format you seek is phylip
More
VOTE
VOTE
VOTE
VOTE
VOTE
VOTE