I would like to convert a 'clustal' formatted alignment into a 'nexus' format alignment in python. I then would like to use the nexus file to build a phylogenetic tree using Mrbayes (http://mrbayes.sourceforge.net/). How can I do that?
Question: Convert Clustal To Nexus Format In Python
5.6 years ago by
Gergana Vandova • 170
Gergana Vandova • 170 wrote:
ADD COMMENT • link •
3.9 years ago by
janwillem.wijnands • 0 wrote:
It is possible to delete the quotes in the headers (Seq_name) of the output nexus file?
I would like to use AlignIO from BioPython for this approach.
#NEXUS begin data; dimensions ntax=3 nchar=50; format datatype=dna missing=? gap=-; matrix 'Seq_name' AGGGA 'Seq_name' AGCGG 'Seq_name' ACTGG
MrBayes gives me an error because of the quotes.
Please log in to add an answer.
Powered by Biostar version 2.3.0
Traffic: 1305 users visited in the last hour