Class PeptideClusterClassKey
java.lang.Object
eu.isas.reporter.calculation.clustering.keys.PeptideClusterClassKey
- All Implemented Interfaces:
ClusterClassKey,Serializable
Key for the class of a peptide cluster.
- Author:
- Marc Vaudel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the cluster class.Returns the PTMs not carried by the peptide.Returns the forbidden PTMs as a set.getName()Returns the name of the cluster class.Returns the PTMs possibly carried by the peptides.Returns the possible PTMs as a set.isCTerm()Indicates whether the peptide is C-term.booleanIndicates whether the peptides must be not modified.isNTerm()Indicates whether the peptide is N-term.Indicates whether the peptides must be starred.voidSets whether the peptide is C-term.voidsetForbiddenPtms(ArrayList<String> forbiddenPtms) Sets the PTMs not carried by the peptide.voidsetNotModified(boolean notModified) Sets whether the peptides must be not modified.voidSets whether the peptide is N-term.voidsetPossiblePtms(ArrayList<String> possiblePtms) Sets the PTMs possibly carried by the peptides.voidsetStarred(Boolean starred) Sets whether the peptides must be starred.toString()
-
Constructor Details
-
PeptideClusterClassKey
public PeptideClusterClassKey()Constructor.
-
-
Method Details
-
isStarred
Indicates whether the peptides must be starred.- Returns:
- a boolean indicating whether the peptides must be starred
-
setStarred
Sets whether the peptides must be starred.- Parameters:
starred- a boolean indicating whether the peptides must be starred
-
getPossiblePtms
Returns the PTMs possibly carried by the peptides.- Returns:
- the PTMs possibly carried by the peptides
-
getPossiblePtmsAsSet
Returns the possible PTMs as a set.- Returns:
- the possible PTMs as a set
-
setPossiblePtms
Sets the PTMs possibly carried by the peptides.- Parameters:
possiblePtms- the PTMs possibly carried by the peptides
-
getForbiddenPtms
Returns the PTMs not carried by the peptide.- Returns:
- the PTMs not carried by the peptide
-
getForbiddenPtmsAsSet
Returns the forbidden PTMs as a set.- Returns:
- the forbidden PTMs as a set
-
setForbiddenPtms
Sets the PTMs not carried by the peptide.- Parameters:
forbiddenPtms- the PTMs not carried by the peptide
-
isNotModified
public boolean isNotModified()Indicates whether the peptides must be not modified.- Returns:
- a boolean indicating whether the peptides must be not modified
-
setNotModified
public void setNotModified(boolean notModified) Sets whether the peptides must be not modified.- Parameters:
notModified- a boolean indicating whether the peptides must be not modified
-
isNTerm
Indicates whether the peptide is N-term.- Returns:
- a boolean indicating whether the peptide is N-term
-
setnTerm
Sets whether the peptide is N-term.- Parameters:
nTerm- a boolean indicating whether the peptide is N-term
-
isCTerm
Indicates whether the peptide is C-term.- Returns:
- a boolean indicating whether the peptide is C-term
-
setcTerm
Sets whether the peptide is C-term.- Parameters:
cTerm- a boolean indicating whether the peptide is C-term
-
getName
Description copied from interface:ClusterClassKeyReturns the name of the cluster class.- Specified by:
getNamein interfaceClusterClassKey- Returns:
- the name of the cluster class
-
getDescription
Description copied from interface:ClusterClassKeyReturns the description of the cluster class.- Specified by:
getDescriptionin interfaceClusterClassKey- Returns:
- the description of the cluster class
-
toString
-