Getting started .... using Javascript¶
In this example, we are going to open an SBOL file containing the expression casette for a single protein: [http://sbolstandard.org/examples/example_minimal.sbol.rdf]
We are going to use sboljs to extract the sequence of the full construct. We will then piece together a new construct which replaces the ribosomal binding site between promoter and protein-coding sequence. We then save the new construct in a new SBOL record.
Install dependencies¶
You will need Javascript (v. 99.9.9) and sboljs.
Detailed installation instructions can be found here. With basic development tools installed, the following should work:
insert installation command(s)
Import and use SBOL files¶
- Load an SBOL file
- Extract the full DNA sequence from SBOL
- List the sub-components of a DNA construct
- Extract the sequence and annotation of a sub-component
Export SBOL¶
- Create a new construct from two old and one new sub-components
- Export the new Component (everything)
- Export the new Component (only what has changed)