public class AminoAcidParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
SEQUENCE_DELIMETERS |
| Constructor and Description |
|---|
AminoAcidParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanup(String sequence)
remove white space, and convert all lower case to upper case
|
static List<String> |
getAminoAcidList(String peptideSequence)
This method converts peptide sequence into a List of amino acid
|
static List<String> |
getAminoAcidList(String peptideSequence,
String delimiter)
This method converts peptide sequence into a List of amino acid with
optional delimiter
|
public static final String[] SEQUENCE_DELIMETERS
public static List<String> getAminoAcidList(String peptideSequence) throws MonomerException, NotationException, MonomerLoadingException, ChemistryException
peptideSequence - given peptide sequenceMonomerException - if peptide contains unknown monomersNotationException - if peptide sequence is nullMonomerLoadingException - monomer store could not be loadedChemistryException - if chemistry could not be initializedpublic static List<String> getAminoAcidList(String peptideSequence, String delimiter) throws MonomerException, NotationException, MonomerLoadingException, ChemistryException
peptideSequence - input sequencedelimiter - optional delimeter in the input sequenceMonomerException - if monomer is not validNotationException - if notation is not validMonomerLoadingException - if monomer could not be read from the sourceChemistryException - if chemistry could not be initializedCopyright © 2017. All rights reserved.