Check whether the input protein sequence is a valid amino acid sequence.

Authors: Dongsheng Cao and Yizeng Liang. Date: 2012.09.09 Email:

propy.ProCheck.ProteinCheck(ProteinSequence: str) → int[source]

Check whether the protein sequence is a valid amino acid sequence or not.

Parameters:ProteinSequence (a pure protein sequence) –
Returns:flag – if the check is no problem, result will return the length of protein. if the check has problems, result will return 0.
Return type:bool


>>> from propy.GetProteinFromUniprot import GetProteinSequence
>>> protein = GetProteinSequence(ProteinID="Q9NQ39")
>>> result = ProteinCheck(protein)