public class SequenceMatchingPreferences extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SequenceMatchingPreferences.MatchingType
The different types of amino acid matching.
|
Modifier and Type | Field and Description |
---|---|
static SequenceMatchingPreferences |
defaultStringMatching
Default string matching.
|
Constructor and Description |
---|
SequenceMatchingPreferences()
Constructor for empty preferences.
|
Modifier and Type | Method and Description |
---|---|
static SequenceMatchingPreferences |
getDefaultSequenceMatching()
Returns default preferences from amino acid matching.
|
Double |
getLimitX()
Returns the maximal share of X's a match can contain, range [0.0-1.0].
|
PeptideMapperType |
getPeptideMapperType()
Returns the type of peptide mapper to use.
|
SequenceMatchingPreferences.MatchingType |
getSequenceMatchingType()
Returns the sequence matching type.
|
String |
getShortDescription()
Returns a short description of the parameters.
|
static SequenceMatchingPreferences |
getStringMatching()
Returns preferences for simple string matching.
|
boolean |
hasLimitX()
Indicates whether the share of X's should be limited.
|
boolean |
isSameAs(SequenceMatchingPreferences sequenceMatchingPreferences)
Indicates whether another sequence matching preferences is the same as
this one.
|
void |
setLimitX(Double limitX)
Sets the maximal share of X's a match can contain, range [0.0-1.0].
|
void |
setPeptideMapperType(PeptideMapperType peptideMapperEnum)
Sets the type of peptide mapper to use.
|
void |
setSequenceMatchingType(SequenceMatchingPreferences.MatchingType sequenceMatchingType)
Sets the sequence matching type.
|
public static final SequenceMatchingPreferences defaultStringMatching
public SequenceMatchingPreferences()
public static SequenceMatchingPreferences getStringMatching()
public static SequenceMatchingPreferences getDefaultSequenceMatching()
public SequenceMatchingPreferences.MatchingType getSequenceMatchingType()
public void setSequenceMatchingType(SequenceMatchingPreferences.MatchingType sequenceMatchingType)
sequenceMatchingType
- the sequence matching typepublic Double getLimitX()
public boolean hasLimitX()
public void setLimitX(Double limitX)
limitX
- the maximal share of X's a match can containpublic PeptideMapperType getPeptideMapperType()
public void setPeptideMapperType(PeptideMapperType peptideMapperEnum)
peptideMapperEnum
- the type of peptide mapper to usepublic boolean isSameAs(SequenceMatchingPreferences sequenceMatchingPreferences)
sequenceMatchingPreferences
- the other sequence matching
preferencespublic String getShortDescription()
Copyright © 2018. All rights reserved.