Bio :: GFF :: easy :: LocationFromCoords :: Class LocationFromCoords
[hide private]
[frames] | no frames]

Class LocationFromCoords

source code

          object --+            
                   |            
                list --+        
                       |        
GenericTools.VerboseList --+    
                           |    
                    Location --+
                               |
                              LocationFromCoords

>>> print LocationFromCoords(339, 564)
340..565
>>> print LocationFromCoords(339, 564, seqname="I")
I:340..565
>>> print LocationFromCoords(999, 3234, "-", seqname="NC_343434")
NC_343434:complement(1000..3235)
Instance Methods [hide private]
new list
__init__(self, start, end, strand=0, seqname=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from Location: __add__, __repr__, __str__, __sub__, add, bounding, direction_and_index, end, findseqname, findseqname_3prime, findside, five_prime, intersection, length, reorient, reverse, start, sublocation, three_prime, three_prime_range

Inherited from Location (private): _joinstr

Inherited from list: __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __reversed__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, sort

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]

Inherited from Location: direction2index

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, start, end, strand=0, seqname=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns: new list
Overrides: object.__init__
(inherited documentation)