Convert Nexus format to Newick format
2
1
Entering edit mode
6.8 years ago

Hi everyone!

I have just started with Perl and I need to convert my Nexus files into Newick format but I feel that it's too complicated for my level of knowledge to write this script, I think that I'm overthinking every time I try to write this script. Do someone know how I can convert all of my 1995 files into Newick format? Or a page where I can read how to convert files for beginners? I will be very grateful for your help.

Perl Nexus Newick Converter • 9.2k views
ADD COMMENT
0
Entering edit mode

Does it have to be a Perl module or you could try BioPython Phylo.convert instead?

ADD REPLY
0
Entering edit mode

Thank you, I can try to read about it. But do you know if I have to write a python script with this converter function or it is build in BioPython?

ADD REPLY
0
Entering edit mode

Thank you so much, I will read about this.

ADD REPLY
1
Entering edit mode
5.3 years ago
BlastedBadger ▴ 160

The bioconvert project can also perform this particular conversion (among many other).

ADD COMMENT
0
Entering edit mode
6.8 years ago

perhaps this little tools will do it TreeCon-Tools

ADD COMMENT
0
Entering edit mode

Thank you so much for your help.

ADD REPLY
0
Entering edit mode

Are you sure about that? Only formats supported seem to be NH/NHX and TreeCon.

ADD REPLY
0
Entering edit mode

ah, you might be right it only seems to support Newick format and not the Nexus.

I think using treeCon you might be able to switch formats as well but that is becoming quite cumbersome ;-)

ADD REPLY

Login before adding your answer.

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