[Bioperl-l] Remove sites of an alignment

Sendu Bala bix at sendu.me.uk
Wed Nov 28 16:19:36 UTC 2007


Tristan Lefebure wrote:
> Hello!
> 
> I was wondering if there was a function to remove sites/columns of an 
> alignment. Something like: $aln->remove_sites(@sites_to_remove)
> I looked around Bio::SimpleAlign but did not find exactly that. There is 
> remove_columns, but it works on 'match'|'weak'|'strong'|'mismatch' criteria.

You might want to take a second look at the docs. You can supply column 
number ranges to remove_columns(), so it does exactly what you want.




More information about the Bioperl-l mailing list