1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 """The v2.1 entity saveframe category.
24
25 This file is part of the U{BMRB library<https://gna.org/projects/bmrblib>}.
26
27 See http://www.bmrb.wisc.edu/dictionary/htmldocs/nmr_star/dictionary_files/complete_form_v21.txt.
28 """
29
30
31 from bmrblib.assembly_supercategory.entity import EntitySaveframe, Entity, EntityCompIndex
32
33
35 """The v2.1 entity saveframe class."""
36
37
38 sf_label = 'monomeric_polymer'
39
46
47
48
50 """v2.1 Entity tag category."""
51
53 """Setup the Entity tag category.
54
55 @param sf: The saveframe object.
56 @type sf: saveframe instance
57 """
58
59
60 super(Entity_v2_1, self).__init__(sf)
61
62
63 self['SfCategory'].tag_name = 'Saveframe_category'
64 self['Name'].tag_name = 'Name_common'
65 self['Type'].tag_name = 'Mol_type'
66 self['PolymerType'].tag_name = 'Mol_polymer_class'
67 self['ThiolState'].tag_name = 'Mol_thiol_state'
68 self['PolymerSeqOneLetterCode'].tag_name = 'Mol_residue_sequence'
69 self['FormulaWeight'].tag_name = 'Molecular_mass'
70 self['DBQueryDate'].tag_name = 'Sequence_homology_query_date'
71 self['DBQueryRevisedLastDate'].tag_name = 'Sequence_homology_query_revised_last_date'
72
73
74
76 """v2.1 EntityCompIndex tag category."""
77
79 """Setup the EntityCompIndex_v2_1 tag category.
80
81 @param sf: The saveframe object.
82 @type sf: saveframe instance
83 """
84
85
86 super(EntityCompIndex_v2_1, self).__init__(sf)
87
88
89 self['EntityCompIndexID'].tag_name = 'Residue_seq_code'
90 self['CompID'].tag_name = 'Residue_label'
91