PEATDB/Base.py
def convert_string3_2_list3(self,sequence):
        """Convert a string of AA3 to a list of AA3"""
        newseq=[]
        thisaa=''
        import DNAtool.mutation
        for letter in sequence:
            thisaa=thisaa+letter
            if len(thisaa)==3:
                if DNAtool.mutation.three_to_one.has_key(thisaa):
                    newseq.append(thisaa)
                else:
                    return None
                thisaa=''
        return newseq
Convert a string of AA3 to a list of AA3
Convert a string of AA3 to a list of AA3
Convert a string of AA3 to a list of AA3
def convert_string3_2_list3(self,sequence):
        newseq=[]
        thisaa=''
        import DNAtool.mutation
        for letter in sequence:
            thisaa=thisaa+letter
            if len(thisaa)==3:
                if DNAtool.mutation.three_to_one.has_key(thisaa):
                    newseq.append(thisaa)
                else:
                    return None
                thisaa=''
        return newseq
def convert_string3_2_list3 ( self , sequence ) : newseq = [ ] thisaa = '' import DNAtool . mutation for letter in sequence : thisaa = thisaa + letter if len ( thisaa ) == 3 : if DNAtool . mutation . three_to_one . has_key ( thisaa ) : newseq . append ( thisaa ) else : return None thisaa = '' return newseq
Convert a string of AA3 to a list of AA3
Convert a string of AA3 to a list of AA3
"""Convert a string of AA3 to a list of AA3"""
self
sequence