Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Roy Chaudhuri <roy.chaudhuri <at> gmail.com>
Subject: Re: find residue number from column name
Newsgroups: gmane.comp.lang.perl.bio.general
Date: Wednesday 27th November 2013 10:58:40 UTC (over 2 years ago)
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?
>
>
 
CD: 5ms