scriptutils.package_production
Module Contents
Functions
|
Given a package specification and an inventory of parts, unify them into a complete SBOL3 package & write it out |
|
Given a package specification and an inventory of parts, unify them into a complete SBOL3 package & write it out |
|
Expand the build plans (libraries & composites sheet) in a package's collated SBOL3 Document |
|
Export the products to be built from a package/distribution document as GenBank and FASTA |
Attributes
- BUILD_PRODUCTS_COLLECTION = BuildProducts
- build_distribution(root: str, packages: list[str]) sbol3.Document
Given a package specification and an inventory of parts, unify them into a complete SBOL3 package & write it out
- Parameters
root – location for distribution
packages – list of packages to include in distribution
- Returns
document for joint package
- collate_package(package: str) None
Given a package specification and an inventory of parts, unify them into a complete SBOL3 package & write it out
- Parameters
package – path of package to search
- Returns
None: would return document, except that rewriting requires change to RDF graph
- expand_build_plan(package: str) sbol3.Document
Expand the build plans (libraries & composites sheet) in a package’s collated SBOL3 Document Also attempt to compute all missing sequences (including those of the build plans)
- Parameters
package – path of package to operate on
- Returns
Updated document
- extract_synthesis_files(root: str, doc: sbol3.Document) sbol3.Document
Export the products to be built from a package/distribution document as GenBank and FASTA Note: FASTA is set up for Twist Synthesis, with the identity of the build product on the sequence of the insert FASTA descriptions must be blank, as they will otherwise be munged together with the display_id
- Parameters
root – directory where exports will be placed
doc – document to extract from
- Returns
slimmed SBOL3 Document containing only direct materials exported in GenBank