Roy Chaudhuri | 27 Nov 11:58 2013
Picon

Re: find residue number from column name

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?
>
>

Gmane