Implementation of the Synthetic Biology Open Language (SBOL) in JavaScript
JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
test
.gitignore
.gitmodules
.travis.yml
AUTHORS
LICENSE
README.md
docWrangler.js
esdoc.json
makeDocs
npm-shrinkwrap.json
package.json

README.md

BSD-licensed implementation of the Synthetic Biology Open Language (SBOL) in JavaScript.

Requires a JavaScript environment with ES6 class support (e.g. recent versions of node, Chrome, ...)

Features:

  • Read generic RDF, XML
  • Serialize SBOL XML, JSON
  • Build SBOL documents programatically

Installation

npm install sboljs

Usage

var SBOLDocument = require('sboljs')

SBOLDocument.loadRDFFile('foo.xml', function(err, doc) {

    doc.componentDefinitions.forEach(function(componentDefinition) {

        console.log(componentDefinition.name)

    })

})

Documentation