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 See http://www.bmrb.wisc.edu/dictionary/htmldocs/nmr_star/dictionary_files/complete_form_v21.txt.
26 """
27
28
29 from bmrblib.assembly_supercategory.entity import EntitySaveframe, Entity, EntityCompIndex
30
31
33 """The v2.1 entity saveframe class."""
34
35
36 sf_label = 'monomeric_polymer'
37
44
45
46
48 """v2.1 Entity tag category."""
49
51 """Setup the Entity tag category.
52
53 @param sf: The saveframe object.
54 @type sf: saveframe instance
55 """
56
57
58 super(Entity_v2_1, self).__init__(sf)
59
60
61 self['SfCategory'].tag_name = 'Saveframe_category'
62 self['Name'].tag_name = 'Name_common'
63 self['Type'].tag_name = 'Mol_type'
64 self['PolymerType'].tag_name = 'Mol_polymer_class'
65 self['ThiolState'].tag_name = 'Mol_thiol_state'
66 self['PolymerSeqOneLetterCode'].tag_name = 'Mol_residue_sequence'
67 self['FormulaWeight'].tag_name = 'Molecular_mass'
68 self['DBQueryDate'].tag_name = 'Sequence_homology_query_date'
69 self['DBQueryRevisedLastDate'].tag_name = 'Sequence_homology_query_revised_last_date'
70
71
72
74 """v2.1 EntityCompIndex tag category."""
75
77 """Setup the EntityCompIndex_v2_1 tag category.
78
79 @param sf: The saveframe object.
80 @type sf: saveframe instance
81 """
82
83
84 super(EntityCompIndex_v2_1, self).__init__(sf)
85
86
87 self['EntityCompIndexID'].tag_name = 'Residue_seq_code'
88 self['CompID'].tag_name = 'Residue_label'
89