public class PeptideFragmentIon 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 |
|---|
PeptideFragmentIon(int fragmentType)
Constructor for a generic ion without neutral losses.
|
PeptideFragmentIon(int fragmentType,
ArrayList<NeutralLoss> neutralLosses)
Constructor for a generic ion.
|
PeptideFragmentIon(int fragmentType,
int number,
double mass,
ArrayList<NeutralLoss> neutralLosses)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the ion.
|
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 sequence.
|
static ArrayList<Integer> |
getPossibleSubtypes()
Returns an arraylist of possible subtypes.
|
CvTerm |
getPrideCvTerm()
Returns the pride cv term adapted to the fragment ion.
|
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 PeptideFragmentIon(int fragmentType,
int number,
double mass,
ArrayList<NeutralLoss> neutralLosses)
fragmentType - the type of peptide fragment ion as indexed by the
static fieldsnumber - the number of the fragment ionmass - the mass of the fragment ionneutralLosses - the neutral losses of the ionpublic PeptideFragmentIon(int fragmentType,
ArrayList<NeutralLoss> neutralLosses)
fragmentType - the type of peptide fragment ion as indexed by the
static fieldsneutralLosses - the neutral losses of the ionpublic PeptideFragmentIon(int fragmentType)
fragmentType - the type of peptide fragment ion as indexed by the
static fieldspublic int getNumber()
public ArrayList<NeutralLoss> getNeutralLosses()
IongetNeutralLosses in class Ionpublic String getName()
Ionpublic String getNameWithNumber()
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()
Copyright © 2014. All rights reserved.