| Trees | Indices | Help | 
 | 
|---|
|  | 
  1  ############################################################################# 
  2  #                                                                           # 
  3  # The BMRB library.                                                         # 
  4  #                                                                           # 
  5  # Copyright (C) 2009-2013 Edward d'Auvergne                                 # 
  6  #                                                                           # 
  7  # This program is free software: you can redistribute it and/or modify      # 
  8  # it under the terms of the GNU General Public License as published by      # 
  9  # the Free Software Foundation, either version 3 of the License, or         # 
 10  # (at your option) any later version.                                       # 
 11  #                                                                           # 
 12  # This program is distributed in the hope that it will be useful,           # 
 13  # but WITHOUT ANY WARRANTY; without even the implied warranty of            # 
 14  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             # 
 15  # GNU General Public License for more details.                              # 
 16  #                                                                           # 
 17  # You should have received a copy of the GNU General Public License         # 
 18  # along with this program.  If not, see <http://www.gnu.org/licenses/>.     # 
 19  #                                                                           # 
 20  ############################################################################# 
 21   
 22  # Module docstring. 
 23  """The v3.1 entity saveframe category. 
 24   
 25  This file is part of the U{BMRB library<https://sourceforge.net/projects/bmrblib>}. 
 26   
 27  See http://www.bmrb.wisc.edu/dictionary/3.1html/SaveFramePage.html#entity. 
 28  """ 
 29   
 30  # relax module imports. 
 31  from bmrblib.assembly_supercategory.entity import EntitySaveframe, Entity, EntityCompIndex 
 32   
 33   
 35      """The v3.1 entity saveframe class.""" 
 36   
 38          """Create the v3.1 tag categories.""" 
 39   
 40          # The tag category objects. 
 41          self.tag_categories.append(Entity_v3_1(self)) 
 42          self.tag_categories.append(EntityCompIndex_v3_1(self)) 
 43   
 44   
 45   
 47      """v3.1 Entity tag category.""" 
 48   
 50          """Setup the Entity tag category. 
 51   
 52          @param sf:  The saveframe object. 
 53          @type sf:   saveframe instance 
 54          """ 
 55   
 56          # Initialise the baseclass. 
 57          super(Entity_v3_1, self).__init__(sf) 
 58   
 59          # The category name. 
 60          self.tag_category_label = 'Entity' 
 61   
 62          # Change tag names. 
 63          self['SfCategory'].tag_name =                       'Sf_category' 
 64          self['SfFramecode'].tag_name =                      'Sf_framecode' 
 65          self['EntityID'].tag_name =                         'ID' 
 66          self['BMRBCode'].tag_name =                         'BMRB_code' 
 67          self['Name'].tag_name =                             'Name' 
 68          self['Type'].tag_name =                             'Type' 
 69          self['PolymerCommonType'].tag_name =                'Polymer_common_type' 
 70          self['PolymerType'].tag_name =                      'Polymer_type' 
 71          self['PolymerTypeDetails'].tag_name =               'Polymer_type_details' 
 72          self['PolymerStrandID'].tag_name =                  'Polymer_strand_ID' 
 73          self['PolymerSeqOneLetterCodeCan'].tag_name =       'Polymer_seq_one_letter_code_can' 
 74          self['PolymerSeqOneLetterCode'].tag_name =          'Polymer_seq_one_letter_code' 
 75          self['TargetIdentifier'].tag_name =                 'Target_identifier' 
 76          self['PolymerAuthorDefinedSeq'].tag_name =          'Polymer_author_defined_seq' 
 77          self['PolymerAuthorSeqDetails'].tag_name =          'Polymer_author_seq_details' 
 78          self['AmbiguousConformationalStates'].tag_name =    'Ambiguous_conformational_states' 
 79          self['AmbiguousChemCompSites'].tag_name =           'Ambiguous_chem_comp_sites' 
 80          self['NstdMonomer'].tag_name =                      'Nstd_monomer' 
 81          self['NstdChirality'].tag_name =                    'Nstd_chirality' 
 82          self['NstdLinkage'].tag_name =                      'Nstd_linkage' 
 83          self['NonpolymerCompID'].tag_name =                 'Nonpolymer_comp_ID' 
 84          self['NonpolymerCompLabel'].tag_name =              'Nonpolymer_comp_label' 
 85          self['NumberOfMonomers'].tag_name =                 'Number_of_monomers' 
 86          self['NumberOfNonpolymerComponents'].tag_name =     'Number_of_nonpolymer_components' 
 87          self['Paramagnetic'].tag_name =                     'Paramagnetic' 
 88          self['ThiolState'].tag_name =                       'Thiol_state' 
 89          self['SrcMethod'].tag_name =                        'Src_method' 
 90          self['ParentEntityID'].tag_name =                   'Parent_entity_ID' 
 91          self['Fragment'].tag_name =                         'Fragment' 
 92          self['Mutation'].tag_name =                         'Mutation' 
 93          self['ECNumber'].tag_name =                         'EC_number' 
 94          self['CalcIsoelectricPoint'].tag_name =             'Calc_isoelectric_point' 
 95          self['FormulaWeight'].tag_name =                    'Formula_weight' 
 96          self['FormulaWeightExptl'].tag_name =               'Formula_weight_exptl' 
 97          self['FormulaWeightExptlMeth'].tag_name =           'Formula_weight_exptl_meth' 
 98          self['Details'].tag_name =                          'Details' 
 99          self['DBQueryDate'].tag_name =                      'DB_query_date' 
100          self['DBQueryRevisedLastDate'].tag_name =           'DB_query_revised_last_date' 
101   
102   
103   
105      """v3.1 EntityCompIndex tag category.""" 
106   
108          """Setup the EntityCompIndex_v3_1 tag category. 
109   
110          @param sf:  The saveframe object. 
111          @type sf:   saveframe instance 
112          """ 
113   
114          # Initialise the baseclass. 
115          super(EntityCompIndex_v3_1, self).__init__(sf) 
116   
117          # The category name. 
118          self.tag_category_label = 'Entity_comp_index' 
119   
120          # Change tag names. 
121          self['EntityCompIndexID'].tag_name =    'ID' 
122          self['AuthSeqID'].tag_name =            'Auth_seq_ID' 
123          self['CompID'].tag_name =               'Comp_ID' 
124          self['CompLabel'].tag_name =            'Comp_label' 
125          self['EntityID'].tag_name =             'Entity_ID' 
126   
| Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Wed Apr 10 13:32:49 2013 | http://epydoc.sourceforge.net |