[Bioperl-l] find residue number from column name

Roy Chaudhuri roy.chaudhuri at gmail.com
Wed Nov 27 10:58:40 UTC 2013


Each sequence in a Bio::SimpleAlign is a Bio::LocatableSeq, so you can 
use location_from_column:

http://search.cpan.org/~cjfields/BioPerl/Bio/LocatableSeq.pm#location_from_column

Cheers,
Roy.

On 27/11/2013 08:34, Tao Zhu wrote:
> In Bio::SimpleAlign, there is a method called
> column_from_residue_number, which could change the the given residue
> number in the sequence to the column number in the alignment. However
> sometimes I want to do the opposite: change from column number to
> residue number in the sequence. Is there any method to do it?
>
>



More information about the Bioperl-l mailing list