Package obitools :: Package location :: Class ComplementLocation
[hide private]
[frames] | no frames]

Class ComplementLocation

source code


Instance Methods [hide private]
 
__init__(self, location)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_extractSequence(self, sequence) 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
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
 
shift(self, s) source code
 
_getglocpos(self) source code
 
getBegin(self) source code
 
getEnd(self) source code
 
getFivePrime(self) source code
 
getThreePrime(self) source code

Inherited from Location: __abs__, __cmp__, extractSequence, getGloc

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  _comp = {'-': '-', 'a': 't', 'b': 'v', 'c': 'g', 'd': 'h', 'g'...
Properties [hide private]
  begin
beginning position of the location
  end
ending position of the location
  fivePrime
5' potisition of the location
  threePrime
3' potisition of the location

Inherited from object: __class__

Method Details [hide private]

__init__(self, location)
(Constructor)

source code 

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

Overrides: object.__init__
(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)

shift(self, s)

source code 
Overrides: Location.shift

getBegin(self)

source code 
Overrides: Location.getBegin

getEnd(self)

source code 
Overrides: Location.getEnd

getFivePrime(self)

source code 
Overrides: Location.getFivePrime

getThreePrime(self)

source code 
Overrides: Location.getThreePrime

Class Variable Details [hide private]

_comp

Value:
{'-': '-',
 'a': 't',
 'b': 'v',
 'c': 'g',
 'd': 'h',
 'g': 'c',
 'h': 'd',
 'k': 'm',
...

Property Details [hide private]

begin

beginning position of the location

Get Method:
getBegin(self)

end

ending position of the location

Get Method:
getEnd(self)

fivePrime

5' potisition of the location

Get Method:
getFivePrime(self)

threePrime

3' potisition of the location

Get Method:
getThreePrime(self)