public class PeptideUtils extends Object
Constructor and Description |
---|
PeptideUtils() |
Modifier and Type | Method and Description |
---|---|
static TreeMap<String,String[]> |
getAaAfter(Peptide peptide,
int nAa,
SequenceProvider sequenceProvider)
Returns the amino acids before the given peptide as a string in a map based on the peptide protein mapping.
|
static TreeMap<String,String[]> |
getAaBefore(Peptide peptide,
int nAa,
SequenceProvider sequenceProvider)
Returns the amino acids before the given peptide as a string in a map based on the peptide protein mapping.
|
static boolean |
isDecoy(Peptide peptide,
SequenceProvider sequenceProvider)
Returns a boolean indicating whether the peptide matches a decoy sequence.
|
public static boolean isDecoy(Peptide peptide, SequenceProvider sequenceProvider)
peptide
- the peptidesequenceProvider
- a sequence provider.public static TreeMap<String,String[]> getAaBefore(Peptide peptide, int nAa, SequenceProvider sequenceProvider)
peptide
- the peptidenAa
- the number of amino acids to includesequenceProvider
- the sequence providerpublic static TreeMap<String,String[]> getAaAfter(Peptide peptide, int nAa, SequenceProvider sequenceProvider)
peptide
- the peptidenAa
- the number of amino acids to includesequenceProvider
- the sequence providerCopyright © 2017. All rights reserved.