public class TagAssumption extends SpectrumIdentificationAssumption implements UrParameter
advocate, aminoAcidScores, identificationCharge, identificationFile, rank, rawScore, score| Constructor and Description |
|---|
TagAssumption()
Constructor for en empty assumption.
|
TagAssumption(int advocate,
int rank,
Tag tag,
Charge identificationCharge,
double score)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFamilyName()
This method returns the family name of the parameter.
|
int |
getIndex()
This method returns the index of the parameter.
|
ArrayList<TagAssumption> |
getPossibleTags(boolean forwardIon,
int minCharge,
int maxCharge,
int maxIsotope)
Computes the possible tag assumptions which can be obtained from this one
by accounting for other charges and isotopes.
|
Tag |
getTag()
Returns the tag of this assumption.
|
Double |
getTheoreticMass()
Returns the theoretic mass of the given assumption.
|
double |
getTheoreticMass(boolean includeCTermGap,
boolean includeNTermGap)
Returns the theoretic mass of the tag, eventually without terminal gaps.
|
double |
getTheoreticMz(boolean includeCTermGap,
boolean includeNTermGap)
Returns the theoretic mass of the tag, eventually without terminal gaps.
|
TagAssumption |
reverse(boolean yIon)
Retunrs a new TagAssumption instance where the tag is a reversed version
of this tag.
|
String |
toString() |
getAdvocate, getAminoAcidScores, getDeltaMass, getIdentificationCharge, getIdentificationFile, getIsotopeNumber, getPrecursorMatch, getRank, getRawScore, getScore, getTheoreticMz, setAminoAcidScores, setIdentificationCharge, setRank, setRawScore, setScoreaddUrParam, getParameterKey, getUrParampublic TagAssumption()
public TagAssumption(int advocate,
int rank,
Tag tag,
Charge identificationCharge,
double score)
advocate - the advocate supporting this assumptionrank - the rank of the assumptiontag - the identified tagidentificationCharge - the identified chargescore - the scorepublic Tag getTag()
public Double getTheoreticMass()
SpectrumIdentificationAssumptiongetTheoreticMass in class SpectrumIdentificationAssumptionpublic double getTheoreticMass(boolean includeCTermGap,
boolean includeNTermGap)
includeCTermGap - if true the C-terminal gap will be added if
presentincludeNTermGap - if true the N-terminal gap will be added if
presentpublic double getTheoreticMz(boolean includeCTermGap,
boolean includeNTermGap)
includeCTermGap - if true the C-terminal gap will be added if
presentincludeNTermGap - if true the N-terminal gap will be added if
presentpublic ArrayList<TagAssumption> getPossibleTags(boolean forwardIon, int minCharge, int maxCharge, int maxIsotope)
forwardIon - indicates whether the tag is based on forward ions (a,
b, or c)minCharge - the minimal precursor charge to considermaxCharge - the maximal precursor charge to considermaxIsotope - the maximal isotope number to considerpublic TagAssumption reverse(boolean yIon)
yIon - indicates whether the tag is based on y ionspublic String getFamilyName()
UrParametergetFamilyName in interface UrParameterpublic int getIndex()
UrParametergetIndex in interface UrParameterCopyright © 2016. All rights reserved.