pestifer.objs.insertion module¶
Insertions are user-specified modifications in which a sequence of one or more amino acids is added to a protein chain.
- class pestifer.objs.insertion.Insertion(*args, chainID: str, resid: ResID, sequence: str, integer_increment: bool | None = None)[source]¶
Bases:
BaseObjA class for handling insertions of amino acid residues within an otherwise fully resolved chain.
- integer_increment: bool | None¶
Required attributes for an Insertion object. These attributes must be provided when creating an Insertion object.
chainID: The chain ID of the segment where the insertion occurs.resid: The residue ID where the insertion is made, represented by a ResID object.sequence: The one-letter amino acid sequence to be inserted.
Optional attributes for an Insertion object. These attributes can be provided to modify the behavior of the insertion. -
integer_increment: Optional boolean indicating if the residue sequence number is incremented by 1 for each residue substituted.
- model_config = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'frozen': False}¶
Configuration for
pydantic.BaseModel.