Package obitools :: Package cns :: Module quality :: Class QualitySequence
[hide private]
[frames] | no frames]

Class QualitySequence

source code


Instance Methods [hide private]
new list
__init__(self, id, seq, definition=None, **info)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
str
getDefinition(self)
Sequence definition getter
source code
 
setDefinition(self, value) source code
 
getId(self) source code
 
setId(self, value) source code
 
__getitem__(self, key)
x[y]
source code
 
__setitem__(self, key, value)
x[i]=y
source code
 
__delitem__(self, key)
del x[y]
source code
 
__iter__(self)
iter(x)
source code
 
__contains__(self, key)
y in x
source code
 
getTags(self) source code
 
complement(self) source code

Inherited from list: __add__, __delslice__, __eq__, __ge__, __getattribute__, __getslice__, __gt__, __iadd__, __imul__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

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

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]
  definition
Sequence Definition
  id
Sequence identifier

Inherited from object: __class__

Method Details [hide private]

__init__(self, id, seq, definition=None, **info)
(Constructor)

source code 

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

Parameters:
  • id
  • seq
  • definition
Returns: new list
Overrides: object.__init__

getDefinition(self)

source code 

Sequence definition getter

Returns: str
the sequence definition

__getitem__(self, key)
(Indexing operator)

source code 

x[y]

Overrides: list.__getitem__
(inherited documentation)

__setitem__(self, key, value)
(Index assignment operator)

source code 

x[i]=y

Overrides: list.__setitem__
(inherited documentation)

__delitem__(self, key)
(Index deletion operator)

source code 

del x[y]

Overrides: list.__delitem__
(inherited documentation)

__iter__(self)

source code 

iter(x)

Overrides: list.__iter__
(inherited documentation)

__contains__(self, key)
(In operator)

source code 

y in x

Overrides: list.__contains__
(inherited documentation)

Property Details [hide private]

definition

Sequence Definition

Get Method:
getDefinition(self) - Sequence definition getter
Set Method:
setDefinition(self, value)

id

Sequence identifier

Get Method:
getId(self)
Set Method:
setId(self, value)