Package obitools :: Package location :: Module feature :: Class Feature
[hide private]
[frames] | no frames]

Class Feature

source code


Instance Methods [hide private]
new empty dictionary

__init__(self, type, location)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getFttype(self) source code
 
extractSequence(self, sequence, withQualifier=False)
Extract subsequence corresponding to a Location.
source code
 
isDirect(self) source code
bool
isSimple(self)
Indicate if a location is composed of a single continuous region or is composed by the junction of several locations by the join operator.
source code
 
isFullLength(self) source code
 
simplify(self) source code
 
locStr(self) source code
bool
needNucleic(self)
If a location contains a complement operator, it can be use only on nucleic sequence.
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
__cmp__(self, y)
cmp(x,y)
source code
 
_getglocpos(self) source code
 
shift(self, s) source code
 
getBegin(self) source code
 
getEnd(self) source code

Inherited from dict: __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from Location: __abs__, getFivePrime, getGloc, getThreePrime

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]
  ftType
Feature type name
  begin
beginning position of the location
  end
ending position of the location

Inherited from Location: fivePrime, threePrime

Inherited from object: __class__

Method Details [hide private]

__init__(self, type, location)
(Constructor)

source code 

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

Returns:
new empty dictionary

Overrides: object.__init__
(inherited documentation)

extractSequence(self, sequence, withQualifier=False)

source code 

Extract subsequence corresponding to a Location.

Parameters:
  • sequence
Overrides: Location.extractSequence
(inherited documentation)

isDirect(self)

source code 
Overrides: Location.isDirect

isSimple(self)

source code 

Indicate if a location is composed of a single continuous region or is composed by the junction of several locations by the join operator.

Returns: bool
True if the location is composed of a single continuous region.
Overrides: Location.isSimple
(inherited documentation)

isFullLength(self)

source code 
Overrides: Location.isFullLength

needNucleic(self)

source code 

If a location contains a complement operator, it can be use only on nucleic sequence.

Returns: bool
True if location contains a complement operator
Overrides: Location.needNucleic
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__cmp__(self, y)
(Comparison operator)

source code 

cmp(x,y)

Overrides: Location.__cmp__

shift(self, s)

source code 
Overrides: Location.shift

getBegin(self)

source code 
Overrides: Location.getBegin

getEnd(self)

source code 
Overrides: Location.getEnd

Property Details [hide private]

ftType

Feature type name

Get Method:
getFttype(self)

begin

beginning position of the location

Get Method:
getBegin(self)

end

ending position of the location

Get Method:
getEnd(self)