public class TagFragmentIon extends Ion
Ion.IonType| Modifier and Type | Field and Description |
|---|---|
static int |
A_ION
Identifier for an a ion.
|
static int |
B_ION
Identifier for a b ion.
|
static int |
C_ION
Identifier for a c ion.
|
static int |
X_ION
Identifier for an x ion.
|
static int |
Y_ION
Identifier for a y ion.
|
static int |
Z_ION
Identifier for a z ion.
|
theoreticMass, type| Constructor and Description |
|---|
TagFragmentIon(int fragmentType)
Constructor for a generic ion without neutral losses.
|
TagFragmentIon(int fragmentType,
ArrayList<NeutralLoss> neutralLosses)
Constructor for a generic ion.
|
TagFragmentIon(int fragmentType,
int number,
int subNumber,
double mass,
ArrayList<NeutralLoss> neutralLosses,
double massGap)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMassGap()
Returns the mass gap comprised in this ion.
|
String |
getName()
Returns the name of the ion.
|
String |
getNameWithGapAndNumber()
Returns the name with number and mass gap.
|
String |
getNameWithNumber()
Returns the name with number.
|
ArrayList<NeutralLoss> |
getNeutralLosses()
Returns the possible neutral losses of this ion type.
|
int |
getNumber()
Returns the number of the fragment in the tag.
|
static ArrayList<Integer> |
getPossibleSubtypes()
Returns an arraylist of possible subtypes.
|
CvTerm |
getPrideCvTerm()
Returns the pride cv term adapted to the fragment ion.
|
int |
getSubNumber()
Returns the number of the fragment in the current amino acid sequence.
|
int |
getSubType()
Returns the ion subtype.
|
String |
getSubTypeAsString()
Returns the subtype as string.
|
static String |
getSubTypeAsString(int subType)
Returns the type of fragment ion as a letter.
|
boolean |
isSameAs(Ion anotherIon)
Returns a boolean indicating whether the ion is the same as another ion.
|
getGenericIon, getGenericIon, getImplementedIonTypes, getNeutralLossesAsString, getNeutralLossesAsString, getPossibleSubtypes, getTheoreticMass, getTheoreticMz, getType, getTypeAsString, getTypeAsString, setTheoreticMassaddUrParam, getParameterKey, getUrParampublic static final int A_ION
public static final int B_ION
public static final int C_ION
public static final int X_ION
public static final int Y_ION
public static final int Z_ION
public TagFragmentIon(int fragmentType,
int number,
int subNumber,
double mass,
ArrayList<NeutralLoss> neutralLosses,
double massGap)
fragmentType - the type of peptide fragment ion as indexed by the
static fieldsnumber - the number of the fragment ionsubNumber - the number of the fragment ion in the current amino acid
sequencemass - the mass of the fragment ionneutralLosses - the neutral losses of the ionmassGap - the mass gap before this tag fragment ionspublic TagFragmentIon(int fragmentType,
ArrayList<NeutralLoss> neutralLosses)
fragmentType - the type of peptide fragment ion as indexed by the
static fieldsneutralLosses - the neutral losses of the ionpublic TagFragmentIon(int fragmentType)
fragmentType - the type of peptide fragment ion as indexed by the
static fieldspublic int getNumber()
public int getSubNumber()
public ArrayList<NeutralLoss> getNeutralLosses()
IongetNeutralLosses in class Ionpublic String getName()
Ionpublic String getNameWithNumber()
public String getNameWithGapAndNumber()
public CvTerm getPrideCvTerm()
IongetPrideCvTerm in class Ionpublic int getSubType()
IongetSubType in class Ionpublic String getSubTypeAsString()
IongetSubTypeAsString in class Ionpublic static String getSubTypeAsString(int subType)
subType - the subtypepublic static ArrayList<Integer> getPossibleSubtypes()
public boolean isSameAs(Ion anotherIon)
Ionpublic double getMassGap()
Copyright © 2014. All rights reserved.