Question: how XFMA file can be converted to nexus or phylip for further phylogenetic analysis
0
gravatar for jeccy.J
4.3 years ago by
jeccy.J50
Argentina
jeccy.J50 wrote:

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. 

 

 

xmfa phylip • 1.3k views
ADD COMMENTlink written 4.3 years ago by jeccy.J50
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1349 users visited in the last hour