/sboljs

Implementation of the Synthetic Biology Open Language (SBOL) in JavaScript

Primary LanguageJavaScriptOtherNOASSERTION

Build Status

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