public class ShotgunProtocol extends Object implements Serializable
Constructor and Description |
---|
ShotgunProtocol() |
Modifier and Type | Method and Description |
---|---|
void |
addLabel(String ptmName,
boolean complete)
Adds a label.
|
ArrayList<String> |
getEnrichedPtms()
Returns the PTMs used for enrichment.
|
Enzyme |
getEnzyme()
Returns the enzyme used for digestion.
|
FragmentationMethod |
getFragmentationMethod()
Returns the fragmentation method.
|
HashMap<String,Boolean> |
getLabellingPtms()
Returns the PTMs used for labeling in a map: name of the PTM - boolean
indicating whether the labeling is complete.
|
Double |
getMs1Resolution()
Returns the MS1 mass resolution.
|
Double |
getMs2Resolution()
Returns the MS2 resolution.
|
static ShotgunProtocol |
inferProtocolFromSearchSettings(SearchParameters searchParameters)
Backward compatibility inferring the protocol from search settings.
|
boolean |
isMs1ResolutionPpm()
Indicates whether the MS1 resolution is in ppm.
|
boolean |
isMs2ResolutionPpm()
Indicates whether the MS2 resolution is in ppm.
|
void |
setEnrichedPtms(ArrayList<String> enrichedPtms)
Sets the PTMs used for enrichment.
|
void |
setEnzyme(Enzyme enzyme)
Sets the enzyme used for digestion.
|
void |
setFragmentationMethod(FragmentationMethod fragmentationMethod)
Sets the fragmentation method.
|
void |
setMs1Resolution(Double ms1Resolution)
Sets the MS1 mass resolution.
|
void |
setMs1ResolutionPpm(boolean ms1ResolutionPpm)
Sets whether the MS1 resolution is in ppm.
|
void |
setMs2Resolution(Double ms2Resolution)
Sets the MS2 resolution.
|
void |
setMs2ResolutionPpm(boolean ms2ResolutionPpm)
Sets whether the MS2 resolution is in ppm.
|
public Enzyme getEnzyme()
public void setEnzyme(Enzyme enzyme)
enzyme
- the enzyme used for digestionpublic ArrayList<String> getEnrichedPtms()
public void setEnrichedPtms(ArrayList<String> enrichedPtms)
enrichedPtms
- the PTMs used for enrichmentpublic Double getMs1Resolution()
public void setMs1Resolution(Double ms1Resolution)
ms1Resolution
- the MS1 mass resolutionpublic boolean isMs1ResolutionPpm()
public void setMs1ResolutionPpm(boolean ms1ResolutionPpm)
ms1ResolutionPpm
- a boolean indicating whether the MS1 resolution
is in ppmpublic FragmentationMethod getFragmentationMethod()
public void setFragmentationMethod(FragmentationMethod fragmentationMethod)
fragmentationMethod
- the fragmentation methodpublic Double getMs2Resolution()
public void setMs2Resolution(Double ms2Resolution)
ms2Resolution
- the MS2 resolutionpublic boolean isMs2ResolutionPpm()
public void setMs2ResolutionPpm(boolean ms2ResolutionPpm)
ms2ResolutionPpm
- a boolean indicating whether the MS2 resolution
is in ppmpublic void addLabel(String ptmName, boolean complete)
ptmName
- the name of the modification used for the labelcomplete
- boolean indicating whether the labeling is complete
(true) or partial (false)public HashMap<String,Boolean> getLabellingPtms()
public static ShotgunProtocol inferProtocolFromSearchSettings(SearchParameters searchParameters)
searchParameters
- the search settings where to take the information
fromCopyright © 2016. All rights reserved.