public class Sequence extends TopLevel
Modifier and Type | Field and Description |
---|---|
static URI |
IUPAC_DNA
Nomenclature for Incompletely Specified Bases in Nucleic Acid Sequences
(IUPAC_DNA).
|
static URI |
IUPAC_PROTEIN
Nomenclature and Symbolism for Amino Acids and Peptides
(IUPAC_PROTEIN).
|
static URI |
IUPAC_RNA
Nomenclature for Incompletely Specified Bases in Nucleic Acid Sequences
(IUPAC_RNA).
|
static URI |
SMILES
SMILES was originally developed as a proprietary specification by Daylight Chemical
Information Systems Since the introduction of SMILES in the late 1980’s, it has become
widely accepted as a defacto standard for exchange of molecular structures
(SMILES).
|
ACTIVITY, AGENT, ANNOTATION, ATTACHMENT, COLLECTION, COMBINATORIAL_DERIVATION, COMPONENT_DEFINITION, EXPERIMENT, EXPERIMENTAL_DATA, GENERIC_TOP_LEVEL, IMPLEMENTATION, MODEL, MODULE_DEFINITION, PLAN, SEQUENCE
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getElements()
Returns the elements property of this sequence.
|
URI |
getEncoding()
Returns the encoding property of this sequence.
|
int |
hashCode() |
static String |
reverseComplement(String elements,
URI type)
Perform the reverse complement of a sequence encoded using IUPAC_DNA
|
void |
setElements(String elements)
Sets the elements property to the given argument.
|
void |
setEncoding(URI encoding)
Sets the encoding property to the given argument.
|
String |
toString() |
addAttachment, addAttachment, addAttachment, clearAttachments, containsAttachment, getAttachments, getAttachmentURIs, removeAttachment, setAttachments
addWasDerivedFrom, addWasGeneratedBy, clearAnnotations, clearWasDerivedFroms, clearWasGeneratedBys, containsWasDerivedFrom, containsWasGeneratedBy, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, getAnnotation, getAnnotations, getDescription, getDisplayId, getIdentity, getName, getPersistentIdentity, getVersion, getWasDerivedFrom, getWasDerivedFroms, getWasGeneratedBys, hasAnnotations, isSetDescription, isSetDisplayId, isSetName, isSetPersistentIdentity, isSetVersion, isSetWasDerivedFrom, removeAnnotation, removeWasDerivedFrom, removeWasGeneratedBy, setDescription, setName, setWasDerivedFrom, setWasDerivedFroms, setWasGeneratedBys, unsetDescription, unsetName, unsetWasDerivedFrom
public static final URI IUPAC_DNA
public static final URI IUPAC_RNA
public static final URI IUPAC_PROTEIN
public static final URI SMILES
public String getElements()
public void setElements(String elements) throws SBOLValidationException
elements
- the given elements propertySBOLValidationException
- if either of the following SBOL validation rule was violated:
10402, 10405.public URI getEncoding()
public void setEncoding(URI encoding) throws SBOLValidationException
encoding
- the given encoding propertySBOLValidationException
- if the following SBOL validation rule was violated: 10403.public static String reverseComplement(String elements, URI type)
elements
- sequence to reverse complementtype
- DNA or RNA typepublic String toString()
toString
in class Identified