Entry points to the project's documentation, organized by topic.
- 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 (
sbol): thecrates/sbol-pyPyO3 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.
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.
- RDF I/O: Turtle, RDF/XML, JSON-LD, N-Triples support; format inference; round-trip guarantees.
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:
- SBOL 2 → SBOL 3 upgrade conformance: self-snapshot gate (critical, pure Rust). How the test harness detects converter drift; how to refresh snapshots after an intentional change.
- SBOL 3 → SBOL 2 downgrade conformance: round-trip gate (critical, pure Rust) that pairs with the upgrade gate.
- SBOL-Converter differential conformance: behavioral-parity gate for both conversion directions against the SynBioDex/SBOL-Converter Java reference, on committed goldens (no JDK in CI).
- SBOL 3 round-trip smoke test report:
generated per-fixture report of what survives upgrade →
downgrade → re-upgrade across the committed SBOL 2 fixture corpus.
Regenerate with
cargo run -p sbol-convert --bin generate-round-trip-report. - GenBank → SBOL 3 import conformance:
self-snapshot gate for
sbol-genbank. - FASTA → SBOL 3 import conformance:
self-snapshot gate for
sbol-fasta.
- 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.
- 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-owl3fixture, the IRI-level cross-check againstvocab.rs, and how to refresh the pin. sbol-owl3conformance report: generated per-IRI coverage table. Regenerate withcargo run -p sbol3 --bin generate-sbol-owl3-conformance-report.