Rust

sbol-rs is a Rust implementation of the Synthetic Biology Open Language covering both SBOL 2.3.0 and SBOL 3.1.0. It provides typed data models, RDF I/O, validation, and conversion between SBOL 2 and SBOL 3. The project supports RDF/XML, Turtle, JSON-LD, and N-Triples, and includes GenBank and FASTA import into SBOL 3.

Most Rust applications can use the umbrella sbol crate for both SBOL versions:

cargo add sbol

The separate sbol-cli crate installs an sbol command for validating, comparing, converting, upgrading, downgrading, and importing documents:

cargo install sbol-cli
sbol validate design.ttl

Start with the crate guide for the SDK architecture and document lifecycle. The repository also provides detailed guides to validation, RDF I/O, and SBOL 2–3 conversion.

sbol-rs is freely available under the MIT or Apache 2.0 license.