Sequence
Extends:
Identified → Sequence
Class to represent an SBOL2 Sequence.
Constructor Summary
Public Constructor | ||
public |
constructor(sbolDocument: *, uri: *) |
Member Summary
Public Members | ||
public set |
Set the sequence elements for this sequence. |
|
public get |
Retrieve the sequence elements for this sequence. |
|
public set |
Set the sequence encoding for this sequence. |
|
public get |
encoding: URI: * Retrieve the sequence encoding for this sequence. |
Public Constructors
public constructor(sbolDocument: *, uri: *) source
Parameters:
Name | Type | Attribute | Description |
sbolDocument | * | ||
uri | * |
Public Members
public set elements(elements: string): * source
Set the sequence elements for this sequence.
The format of the elements is dependent on the encoding. For example, if this is a nucleotide sequence, the elements should be a string of nucleotide base pairs.
public get encoding: URI: * source
Retrieve the sequence encoding for this sequence.
Returns:
URI | [encoding] |