[Bioperl-l] Remove sites of an alignment

Tristan Lefebure tristan.lefebure at gmail.com
Wed Nov 28 19:03:44 UTC 2007


Hoops. I was reading the BioPerl 1.4 documentation. Actually,
http://bioperl.org/wiki/Module:Bio::SimpleAlign send you to
http://search.cpan.org/perldoc?Bio::SimpleAlign, which ends up to be
the 1.4documentation...

Thank you, it works great.


On Nov 28, 2007 11:19 AM, Sendu Bala <bix at sendu.me.uk> wrote:

> 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.
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>



More information about the Bioperl-l mailing list