Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

sbol-rs documentation

Entry points to the project's documentation, organized by topic.

Getting oriented

  • Crate guide: architectural tour covering workspace layout, data model, document lifecycle, validation pipeline, conversion machinery, key decision points. Start here if you're new to the codebase.

Python SDK

  • Python SDK (sbol): the crates/sbol-py PyO3 binding — one package for SBOL 2, SBOL 3, and conversion between them, backed by the Rust core (8–2300× faster than pySBOL3). Install, usage, the develop/build/test workflow, and the benchmark. API reference lives in the crate README.

Validation

sbol-rs validates both SBOL versions through one shared ValidationConfig and one diagnostic surface. Read these in order:

  • Validation system overview: narrative entry point. What the validators do, the shared configuration and coverage signal, how to read the output, where the trust boundaries are.
  • SBOL 3 conformance report: generated per-rule status grid for all 149 SBOL 3.1.0 rules. Headline: 109/109 machine-checkable rules implemented. Regenerate with cargo run -p sbol3 --bin generate-conformance-report.
  • SBOL 2 conformance report: generated per-rule status grid for all 268 SBOL 2.3.0 rules. Headline: 239/239 machine-checkable rules implemented, plus the validation-gate model and the SBOLTestSuite corpus outcomes. Regenerate with cargo run -p sbol2 --bin generate-sbol2-conformance-report.
  • JSON v1 output schema: reference for downstream tools consuming sbol validate --format json. Includes the SARIF v2.1.0 mapping.
  • Policy ADRs: committed design decisions for rules where the spec is ambiguous. One ADR per Policy-blocked rule.

I/O

  • RDF I/O: Turtle, RDF/XML, JSON-LD, N-Triples support; format inference; round-trip guarantees.

Conversion

sbol-rs ingests three flavors of upstream synbio data and converts them to native SBOL 3, and reverses the SBOL 3 path back to SBOL 2 for publishing to consumers that still consume the older format.

  • Conversion guide: the canonical reference. Parity with the SynBioDex/SBOL-Converter reference, workflows organized by what you have (SBOL 2, GenBank, FASTA, native SBOL 3), the https://sbols.org/backport/2_3# namespace and what it preserves, how each SBOL 3 Component classifies into a single SBOL 2 class, known intentional divergences, known limitations.
You have… Use… Module / subcommand
SBOL 2 RDF (SynBioHub, iGEM, JBEI ICE) sbol-convert upgrade_from_sbol2 sbol upgrade
GenBank .gb / .gbk (SnapGene, ApE, Benchling, NCBI) sbol-genbank sbol import-genbank
FASTA .fasta / .fa / .fna / .faa (NCBI, UniProt, BLAST) sbol-fasta sbol import-fasta
SBOL 3 to publish to a tool that consumes SBOL 2 sbol-convert downgrade sbol downgrade

For maintainers and CI:

Ontology extensions

  • Ontology extensions: the bundled snapshot (EDAM, SBO, SO, GO, ChEBI, CL), the runtime cache for opt-in extensions (NCIT, custom domain ontologies), and the install workflow.

Testing and contribution

  • Test architecture: regression cases, fixtures, fuzz targets, property tests, cross-implementation conformance harness.
  • Release process: synchronized workspace versioning, release validation, crates.io publication, GitHub artifacts, and Zenodo follow-up.
  • SBOL schema conformance regression: pinned sbol-owl3 fixture, the IRI-level cross-check against vocab.rs, and how to refresh the pin.
  • sbol-owl3 conformance report: generated per-IRI coverage table. Regenerate with cargo run -p sbol3 --bin generate-sbol-owl3-conformance-report.