public class PeptideVariantsParameters extends ExperimentObject
Modifier and Type | Class and Description |
---|---|
static class |
PeptideVariantsParameters.VariantType
Enum indicating all three variant types
|
NO_KEY
Constructor and Description |
---|
PeptideVariantsParameters()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AaSubstitutionMatrix |
getAaSubstitutionMatrix()
Returns the amino acid substitution matrix to use.
|
HashMap<String,ArrayList<SNPElement>> |
getFixedVariants()
returns the fixed variants
|
int |
getnAaDeletions()
Returns the number of amino acid deletions allowed.
|
int |
getnAaInsertions()
Returns the number of amino acid insertions allowed.
|
int |
getnAaSubstitutions()
Returns the number of amino acid substitutions allowed.
|
int |
getnAaSwap()
Returns the number of amino acid swaps allowed.
|
static PeptideVariantsParameters |
getNoVariantPreferences()
Returns the preferences corresponding to no variants allowed.
|
int |
getnVariants()
Returns the total number of variants allowed.
|
String |
getShortDescription()
Returns a short description of the parameters.
|
PeptideVariantsParameters.VariantType |
getVariantType()
Returns whether the specific variant count limitations should be used.
|
boolean |
isSameAs(PeptideVariantsParameters peptideVariantsPreferences)
Indicates whether another peptide variant preferences is the same as this
one.
|
void |
setAaSubstitutionMatrix(AaSubstitutionMatrix aaSubstitutionMatrix)
Sets the amino acid substitution matrix to use.
|
void |
setFixedVariants(HashMap<String,ArrayList<SNPElement>> fixedVariants)
sets the fixed variants
|
void |
setnAaDeletions(int nAaDeletions)
Sets the number of amino acid deletions allowed.
|
void |
setnAaInsertions(int nAaInsertions)
Sets the number of amino acid insertions allowed.
|
void |
setnAaSubstitutions(int nAaSubstitutions)
Sets the number of amino acid substitutions allowed.
|
void |
setnAaSwap(int nAaSwap)
Sets the number of amino acid swaps allowed.
|
void |
setnVariants(int nVariants)
Sets the total number of variants allowed.
|
void |
setVatiantType(PeptideVariantsParameters.VariantType variantType)
Sets whether the specific variant count limitations should be used.
|
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
public int getnAaDeletions()
public void setnAaDeletions(int nAaDeletions)
nAaDeletions
- the number of amino acid deletions allowedpublic int getnAaInsertions()
public void setnAaInsertions(int nAaInsertions)
nAaInsertions
- the number of amino acid insertions allowedpublic int getnAaSubstitutions()
public void setnAaSubstitutions(int nAaSubstitutions)
nAaSubstitutions
- the number of amino acid substitutions allowedpublic int getnAaSwap()
public void setnAaSwap(int nAaSwap)
nAaSwap
- the number of amino acid swaps allowedpublic AaSubstitutionMatrix getAaSubstitutionMatrix()
public void setAaSubstitutionMatrix(AaSubstitutionMatrix aaSubstitutionMatrix)
aaSubstitutionMatrix
- the amino acid substitution matrix to usepublic PeptideVariantsParameters.VariantType getVariantType()
public void setVatiantType(PeptideVariantsParameters.VariantType variantType)
variantType
- a boolean indicating whether the specific variant
count limitations should be usedpublic int getnVariants()
public void setnVariants(int nVariants)
nVariants
- the total number of variants allowedpublic boolean isSameAs(PeptideVariantsParameters peptideVariantsPreferences)
peptideVariantsPreferences
- the other preferencespublic String getShortDescription()
public static PeptideVariantsParameters getNoVariantPreferences()
public HashMap<String,ArrayList<SNPElement>> getFixedVariants()
public void setFixedVariants(HashMap<String,ArrayList<SNPElement>> fixedVariants)
fixedVariants
- fixed variants dictionaryCopyright © 2021. All rights reserved.