public class Protein extends ExperimentObject
Constructor and Description |
---|
Protein()
Constructor for a protein.
|
Protein(String accession)
Simplistic constructor for a protein (typically used when loading
identification files).
|
Protein(String accession,
String sequence)
Constructor for a protein.
|
Protein(String accession,
String sequence,
boolean isDecoy)
Constructor for a protein.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccession()
Getter for the protein accession.
|
int |
getLength()
Returns the number of amino acids in the sequence.
|
String |
getProteinKey()
Returns the key for protein indexing.
|
String |
getSequence()
Getter for the protein sequence.
|
addUrParam, asLong, clearParametersMap, getUrParam, getUrParams, removeUrParam, setUrParams
getFirstLevel, getId, setFirstLevel, setId
jdoZooEvict, jdoZooGetBackup, jdoZooGetClassDef, jdoZooGetContext, jdoZooGetNode, jdoZooGetOid, jdoZooGetTimestamp, jdoZooHasState, jdoZooInit, jdoZooIsDeleted, jdoZooIsDetached, jdoZooIsDirty, jdoZooIsNew, jdoZooIsPersistent, jdoZooIsStateHollow, jdoZooIsTransactional, jdoZooMarkClean, jdoZooMarkDeleted, jdoZooMarkDetached, jdoZooMarkDirty, jdoZooMarkHollow, jdoZooMarkTransient, jdoZooSetOid, jdoZooSetTimestamp, toString, zooActivateRead, zooActivateWrite, zooActivateWrite
public Protein()
public Protein(String accession)
accession
- The protein accessionpublic Protein(String accession, String sequence)
accession
- The protein accessionsequence
- The protein sequencepublic String getAccession()
public String getSequence()
public String getProteinKey()
public int getLength()
Copyright © 2018. All rights reserved.