Logo Search packages:      
Sourcecode: python-biopython version File versions

Bio::GFF::easy::Location Class Reference

Inheritance diagram for Bio::GFF::easy::Location:

Bio::GFF::easy::LocationFromCoords Bio::GFF::easy::LocationFromString Bio::GFF::easy::LocationJoin

List of all members.


Detailed Description

this is really best interfaced through LocationFromString
fuzzy: < or >
join: {0 = no join, 1 = join, 2 = order}

>>> location = Location([Location([339]), Location([564])]) # zero-based
>>> location
Location(Location(339), Location(564))
>>> print location # one-based
340..565
>>> print location.five_prime()
340
>>> location_rev = Location([Location([339]), Location([564])], 1)
>>> print location_rev
complement(340..565)
>>> print location_rev.five_prime()
565

Definition at line 48 of file easy.py.


Public Member Functions

def __add__
def __init__
def __repr__
def __str__
def __sub__
def add
def bounding
def direction_and_index
def end
def findseqname
def findseqname_3prime
def findside
def five_prime
def intersection
def length
def reorient
def reverse
def start
def sublocation
def three_prime
def three_prime_range

Public Attributes

 complement
 fuzzy
 join
 seqname

Static Public Attributes

dictionary direction2index = {1: 0, -1: -1}

Private Member Functions

def _joinstr

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index