[Bioperl-l] Cannot read in alignment data with Bio::AlignIO

manni122 markus.liebscher at gmx.de
Tue Feb 10 14:40:49 UTC 2009


Hi,
I am trying to read in a file with multiple pairwise alignments. Some IDs
appear frequently. So if I am using this code below I get the error message:
--- MSG: Replacing one sequence xxx ---
Is there a way to read the data even with those similar names? 
Regards, manni122.

use Bio::AlignIO;

my $in  = Bio::AlignIO->new(-file => "align.fas" ,
                           -format => 'fasta');


my $aln = $in->next_result();

foreach my $seqObj ($aln->each_seq) {
  print $seqObj->display_id, "\n";
}

-- 
View this message in context: http://www.nabble.com/Cannot-read-in-alignment-data-with-Bio%3A%3AAlignIO-tp21935058p21935058.html
Sent from the Perl - Bioperl-L mailing list archive at Nabble.com.




More information about the Bioperl-l mailing list