Skip to main content
License: SynBioHub retrieves data from the source registry and each record’s contributors, distributed under each record’s source license; CC BY 4.0 or CC BY-SA 4.0 for most iGEM parts. Attribution to the source registry and each record’s contributors is required when the data is redistributed. The client wrapper code is MIT-licensed. Please refer to the data terms for full terms.

Proto is not affiliated with SynBioHub. This toolkit is open source and builds on the implementation produced by this organization. Product names, logos, and trademarks are the property of their respective owners.


SynBioHub/synbiohub
SynBioHub/synbiohub
View repo
synbiohub.org
Visit website
SynBioHub: a standards-enabled design repository for synthetic biology
James Alastair McLaughlin, Chris J Myers, … Anil Wipat
ACS Synthetic Biology (2018)
Read paper
@articlemclaughlin2018synbiohub@articlemante2020synbiohub@articlezhang2019sbolexplorer
Copy citation
ProtoProtoevo-design/proto-tools
View source
Open Notebook
Open notebook
proto-tools on GitHub
Run locally with proto-tools
Toolkit contributors

Background

SynBioHub is a standards-enabled repository for synthetic biology designs. SBOL preserves components, nested subcomponents, sequence constraints, annotations, and provenance, allowing a circuit or construct to remain a composition of segments rather than only a flattened nucleotide string. The tool uses the documented SBOL download endpoint and logs in with a SynBioHub account.

Tools

SynBioHub Fetch (synbiohub-fetch)

Confirms the object is a ComponentDefinition from its non-recursive SBOL, then downloads its recursive SBOL and parses it. design holds the requested part: its sequence, Sequence Ontology roles, and features, each with 1-indexed inclusive locations and a subpart_uri when it places a subpart. subparts holds every other part in the document. The output exports to JSON, the verbatim SBOL, FASTA, or GenBank. identifier takes a SynBioHub link, with or without its version, an iGEM Registry part link, or an iGEM part name such as BBa_I13504. A SynBioHub link must share an origin with registry_url, preventing an identifier from silently redirecting retrieval to another host.

API Reference

Source
string
required
A SynBioHub link to a ComponentDefinition, with or without its version, an iGEM Registry part link, or an iGEM part name such as BBa_I13504.
Source
string
default:"https://api.synbiohub.org"
Registry origin allowed for object retrieval.
string
SynBioHub account email or username.
string
SynBioHub account password.
integer
default:"0"
Verbosity level (0=quiet, 1=info, 2=debug, 3=raw subprocess stderr). True is coerced to 1 and False to 0.
string
default:"cpu"
Device to run the tool on.
integer
default:"3600"
Maximum execution time in seconds, not counting time spent while a weights download keeps progressing. None waits indefinitely.
integer
Random seed. When set, tools run reproducibly up to small GPU float noise (see BaseToolOutput.approx_equal), and the seed participates in cache keys. When None, cacheable seed-sensitive tools skip cache until seeded.
Source
string
required
Requested identifier, as given.
string
required
Registry origin used for retrieval.
string
required
SBOL download endpoint.
SynBioHubPart
required
The requested design.
List[SynBioHubPart]
Every other part in the SBOL document, at any depth.
string
required
The downloaded SBOL document, verbatim.
string
Version of the toolkit that produced the output, from its versions.yaml. Suffixed +dirty when the source no longer matches that version. See notes/versioning.md.

Applications

Read a construct’s composition from design.features and subparts to rebuild it as multi-segment designs, and export FASTA or GenBank for downstream scoring, synthesis checks, or annotation inspection.

Usage Tips

  • Set your SynBioHub login. The public instance requires a login for every download, including public records. Create a free account at synbiohub.org, then set SYNBIOHUB_EMAIL (your email or username) and SYNBIOHUB_PASSWORD, or pass synbiohub_email and synbiohub_password in the config. Use an account on the same registry as registry_url. Each fetch logs in, downloads, and logs out, so there is no token to renew.
  • Treat SBOL as the source of truth. The typed model covers parts, roles, sequences, and ranged features. Provenance, interactions, and registry-specific annotations stay in the verbatim sbol field and its export.
  • Exports are views of the design. FASTA and GenBank cover the requested design only. GenBank feature keys come from Sequence Ontology roles, and unmapped roles become misc_feature. The GenBank header carries the design’s topology when the SBOL records one, and its last modification date.
  • Credentials remain private. SYNBIOHUB_EMAIL and SYNBIOHUB_PASSWORD are excluded from cache keys and outputs.
  • Paste the link you have. With the default registry, links copied from synbiohub.org download from its API host. iGEM part names and links from parts.igem.org or registry.igem.org resolve to the registry’s iGEM collection. A link or name without a version resolves to the object’s only public version. An object with several versions, or a private one, needs a versioned link.
  • Select the registry explicitly. Any other SynBioHub link must have the same origin as registry_url. Parts outside the iGEM collection need a full link.
  • Requires network access. No registry snapshot or curated database is stored locally.
  • Runs on CPU. Runtime is dominated by the recursive SBOL download.

Toolkit Notes

Example notebook: See the full working example for a copy-paste-ready walkthrough.

Infrastructure Guides

The following guides cover how to run tools efficiently and at scale.

Tool Persistence

Keep a tool’s model warm across calls instead of reloading it every invocation.

Device Management

How GPUs are allocated to tools and how to target specific devices.

Parallel Execution

Fan a batch of inputs out across multiple GPUs.