PEATDB/DNA_sequence.py
def PirSeq(self,seq=None):
        """
        # This function returns a string holding the sequence of the PDB file
        # (aa one-letter code)
        """
        import string
        pir=''
        if not seq:
            seq=self.sequence
        for residue,type in seq:
            if self.three_to_one.has_key(string.upper(type)):
                pir=pir+string.upper(self.three_to_one[string.upper(type)])
        return pir

        # This function returns a string holding the sequence of the PDB file
        # (aa one-letter code)
        
This function returns a string holding the sequence of the PDB file
(aa one-letter code)
This function returns a string holding the sequence of the PDB file ( aa one - letter code )
def PirSeq(self,seq=None):
        import string
        pir=''
        if not seq:
            seq=self.sequence
        for residue,type in seq:
            if self.three_to_one.has_key(string.upper(type)):
                pir=pir+string.upper(self.three_to_one[string.upper(type)])
        return pir
def PirSeq ( self , seq = None ) : import string pir = '' if not seq : seq = self . sequence for residue , type in seq : if self . three_to_one . has_key ( string . upper ( type ) ) : pir = pir + string . upper ( self . three_to_one [ string . upper ( type ) ] ) return pir
This function returns a string holding the sequence of the PDB file
 (aa one-letter code)
This function returns a string holding the sequence of the PDB file ( aa one - letter code )
"""
        # This function returns a string holding the sequence of the PDB file
        # (aa one-letter code)
        """
self
seq