[Bioperl-l] find residue number from column name

Tao Zhu taozhu at mail.bnu.edu.cn
Thu Nov 28 01:29:46 UTC 2013


Thank you! It works!

于 2013年11月27日 18:58, Roy Chaudhuri 写道:
> 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?
>>
>>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
> 


-- 
Tao Zhu, College of Life Sciences, Beijing Normal University, Beijing
100875, China
Email: taozhu at mail.bnu.edu.cn




More information about the Bioperl-l mailing list