how XFMA file can be converted to nexus or phylip for further phylogenetic analysis
0
0
Entering edit mode
8.7 years ago
jeccy.J ▴ 60

Hello all can anyone suggest me how to convert

XFMA file to converted to nexus or phylip for further phylogenetic analysis?

I have tried like this in bioperl but somehow its not converting properly.

use Bio::AlignIO;

$in  = Bio::AlignIO->new(-file => "test.xmfa" ,
                         -format => 'xmfa');
$out = Bio::AlignIO->new(-file => ">test",
                         -format => 'phylip');

while ( my $aln = $in->next_aln ) {
  $out->write_aln($aln);
}

Thanks advance

phylip XMFA • 2.8k views
ADD COMMENT

Login before adding your answer.

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