So Laura, you would do $alnio = new Bio::AlignIO(-file='myalign.fas', -format='fasta') # or whatever format you please $aln = $alnio->next_aln; # this gives you your myalign.fas in $aln, a Bio::SimpleAlign object # then do $purged_ones = $aln->purge(0.75); cheers MAJ