public class ProteinUtils extends Object
Constructor and Description |
---|
ProteinUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isDecoy(String accession,
FastaParameters fastaParameters)
Returns a boolean indicating whether the given accession corresponds to a decoy sequence according to the given fasta parameters.
|
static boolean |
isDecoy(String accession,
SequenceProvider sequenceProvider)
Returns a boolean indicating whether the given accession corresponds to a decoy sequence according to the given sequence provider.
|
public static boolean isDecoy(String accession, FastaParameters fastaParameters)
accession
- the protein accessionfastaParameters
- the fasta parameterspublic static boolean isDecoy(String accession, SequenceProvider sequenceProvider)
accession
- the protein accessionsequenceProvider
- the sequence providerCopyright © 2017. All rights reserved.