[BioPython] Getting the location from a Genbank record
    Sebastian Bassi 
    sbassi at gmail.com
       
    Mon Sep  3 09:32:28 EDT 2007
    
    
  
On 9/3/07, Peter <biopython at maubp.freeserve.co.uk> wrote:
> start = x.location.start.position
> end = x.location.end.position
Yes, this worked. I tried x.location._start.position
because of this:
>>> dir(x.location)
['__doc__', '__getattr__', '__init__', '__module__', '__str__',
'_end', '_start']
Thank you!
-- 
Bioinformatics news: http://www.bioinformatica.info
Lriser: http://www.linspire.com/lraiser_success.php?serial=318
    
    
More information about the BioPython
mailing list