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

Class CompositeLocation

source code


Instance Methods [hide private]
 
__init__(self, locations)
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
 
simplify(self) source code
 
isFullLength(self) source code
bool
needNucleic(self)
If a location contains a complement operator, it can be use only on nucleic sequence.
source code
 
_getglocpos(self) source code
 
getBegin(self) source code
 
getEnd(self) source code
 
shift(self, s) source code
 
__str__(self)
str(x)
source code

Inherited from Location: __abs__, __cmp__, extractSequence, getFivePrime, getGloc, getThreePrime

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

Properties [hide private]
  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, locations)
(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)

getBegin(self)

source code 
Overrides: Location.getBegin

getEnd(self)

source code 
Overrides: Location.getEnd

shift(self, s)

source code 
Overrides: Location.shift

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Property Details [hide private]

begin

beginning position of the location

Get Method:
getBegin(self)

end

ending position of the location

Get Method:
getEnd(self)