cadnano.decorators.insertion module¶
-
class
Insertion
(index: int, length: int)¶ Bases:
object
:class:`Insertion`s do affect an applied sequence and do not store a sequence themselves. They are a skip if the length is less than 0
Parameters: -
length
() → int¶ This is the length of a sequence that is immutable by the strand
Returns: length of Insertion
-
setLength
(length: int)¶ Setter for the length
Parameters: length –
-
updateIdx
(delta: int)¶ Increment the index by delta
Parameters: delta – can be negative
-