public class Protein extends ExperimentObject
NO_KEY
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, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
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 © 2021. All rights reserved.