Chain objects contain an ordered list of Fragment objects.
|
__init__(self,
model_id=1,
chain_id='
' ,
**args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
set_sequence(self,
sequence_list)
The sequence_list is a list of 3-letter residue name codes which
define the polymer sequence for the chain. |
source code
|
|
|
remove_sequence(self)
Removes the current sequence mapping. |
source code
|
|
|
iter_sequence(self)
Iterates over all 3-letter residue codes for the polymer sequence. |
source code
|
|
|
construct_sequence_list(self)
Constructs and returns a list with the 3-letter residue codes for the
polymer sequence. |
source code
|
|
|
get_fragment_sequence_index(self,
seq_index) |
source code
|
|
|
|
|
|
|
set_chain_id(self,
chain_id)
Sets a new ID for the Chain, updating the chain_id for all objects in
the Structure hierarchy. |
source code
|
|
Inherited from Segment :
__contains__ ,
__ge__ ,
__getitem__ ,
__gt__ ,
__iter__ ,
__le__ ,
__len__ ,
__lt__ ,
add_atom ,
construct_sub_segment ,
count_all_atoms ,
count_amino_acids ,
count_atoms ,
count_fragments ,
count_non_standard_residues ,
count_nucleic_acids ,
count_standard_residues ,
count_waters ,
get_chain ,
get_equivalent_atom ,
get_fragment ,
get_model ,
get_structure ,
has_amino_acids ,
has_non_standard_residues ,
has_nucleic_acids ,
has_standard_residues ,
has_waters ,
index ,
is_homolog ,
iter_all_atoms ,
iter_amino_acids ,
iter_atoms ,
iter_bonds ,
iter_fragments ,
iter_non_standard_residues ,
iter_nucleic_acids ,
iter_standard_residues ,
iter_waters ,
remove_atom ,
set_model_id ,
sort
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|