PEATDB/Base.py
def addDNAseq(self, protein_name, DNAseq):
        """Add a DNA sequence to a protein"""
        if self.isknownProtein(protein_name):
            # Do we already have a DNA sequence?
            self.data[protein_name].DNAseq = DNAseq
            return True
        return None
Add a DNA sequence to a protein
Add a DNA sequence to a protein
Add a DNA sequence to a protein
def addDNAseq(self, protein_name, DNAseq):
        if self.isknownProtein(protein_name):
            self.data[protein_name].DNAseq = DNAseq
            return True
        return None
def addDNAseq ( self , protein_name , DNAseq ) : if self . isknownProtein ( protein_name ) : self . data [ protein_name ] . DNAseq = DNAseq return True return None
Add a DNA sequence to a protein
Add a DNA sequence to a protein
"""Add a DNA sequence to a protein""" # Do we already have a DNA sequence?
self
protein_name
DNAseq