PEATDB/Base.py
def storePDB(self, name, X, AlignmentMap=None):
        """Store the PDB file for the selected protein"""
        rec = self.data[name]
        rec.Structure = X.writepdb('dummy',nowrite=1)
        rec.Structuretype = 'xray'
        # Store the map between sequences
        if AlignmentMap != None:
            rec.Structure_alnseq_EATrecord = AlignmentMap['OrigAa']
            rec.Structure_alnseq_PDBfile = AlignmentMap['AlignedAa']
        return
Store the PDB file for the selected protein
Store the PDB file for the selected protein
Store the PDB file for the selected protein
def storePDB(self, name, X, AlignmentMap=None):
        rec = self.data[name]
        rec.Structure = X.writepdb('dummy',nowrite=1)
        rec.Structuretype = 'xray'
        if AlignmentMap != None:
            rec.Structure_alnseq_EATrecord = AlignmentMap['OrigAa']
            rec.Structure_alnseq_PDBfile = AlignmentMap['AlignedAa']
        return
def storePDB ( self , name , X , AlignmentMap = None ) : rec = self . data [ name ] rec . Structure = X . writepdb ( 'dummy' , nowrite = 1 ) rec . Structuretype = 'xray' if AlignmentMap != None : rec . Structure_alnseq_EATrecord = AlignmentMap [ 'OrigAa' ] rec . Structure_alnseq_PDBfile = AlignmentMap [ 'AlignedAa' ] return
Store the PDB file for the selected protein
Store the PDB file for the selected protein
"""Store the PDB file for the selected protein""" # Store the map between sequences
self
name
X
AlignmentMap