Construct and Parts/Linkers CSVs can be generated by calling the generateCsv
method of SBOLParser
.
The generateCsv
method processes the SBOL Document as follows:
- Extracts Component Definitions and/or Combinatorial Derivations from SBOL Document
- Enumerates any Combinatorial Derivations
- Filters designs to remove designs with repeated parts
- Select a random subset of the design space
- Inserts backbone plasmid to each design if not present
- Inserts up to 7 linkers between designs (neutral BASIC linkers L1-L7)
- Sorts list of parts/linkers used across all designs alphabetically
- Writes construct and parts/linkers CSVs
generateCSV
can take in several different combinations of parameters depending on the requirements of the experimental setup.
Generate a single construct and parts/linkers CSV for a specific Component Definition/Combinatorial Derivation
generateCsv(SBOLDocument doc, String constructType, String constructURI, int maxSize)
Parameters:
doc
SBOL Document containing construct designsconstructType
AcceptsCOMPONENT_DEFINITION
orCOMBINATORIAL_DERIVATION
as inputconstructURI
URI of Combinatorial Derivation or Component Definition to assemblemaxSize
Maximum number of samples in a single plate
Generate several construct and parts/linkers CSVs for a specific Component Definition/Combinatorial Derivation depending on the number of runs
generateCsv(SBOLDocument doc, String constructType, String constructURI, int maxSize, int numberOfRuns)
Parameters:
doc
SBOL Document containing construct designsconstructType
AcceptsCOMPONENT_DEFINITION
orCOMBINATORIAL_DERIVATION
as inputconstructURI
URI of Combinatorial Derivation or Component Definition to assemblemaxSize
Maximum number of samples in a single platenumberOfRuns
Number of runs (i.e. number of construct and parts/linkers CSVs to be generated)
Generate a single construct and parts/linkers CSV for all Component Definitions/Combinatorial Derivations/Both
generateCsv(SBOLDocument doc, String constructType, int maxSize)
Parameters:
doc
SBOL Document containing construct designsconstructType
AcceptsCOMPONENT_DEFINITION
orCOMBINATORIAL_DERIVATION
orBOTH
as inputmaxSize
Maximum number of samples in a single plate
Generate several construct and parts/linkers CSV for all Component Definitions/Combinatorial Derivations/Both depending on the number of runs
generateCsv(SBOLDocument doc, String constructType, int maxSize, int numberOfRuns)
Parameters:
doc
SBOL Document containing construct designsconstructType
AcceptsCOMPONENT_DEFINITION
orCOMBINATORIAL_DERIVATION
orBOTH
as inputmaxSize
Maximum number of samples in a single platenumberOfRuns
Number of runs (i.e. number of construct and parts/linkers CSVs to be generated)
- Default prefix URI needs to be set for SBOL Document
- No option to change Linkers or Backbone currently
- Linkers and Backbone SBOL files are found in
examples/sbol_files
directory aslinker_parts.xml
anddummyBackbone.xml
respectivelylinker_parts.xml
anddummyBackbone.xml
are generated bylinkerOutput.java
andbackboneOutput.java
respectively
examples/sbol_files/iGEM2020
contains SBOL files specifying designs for Imperial iGEM 2020 (outdated)Trp_Optimization.xml
describes fully assembled construct for Trp Optimization
examples/sbol_filess/synbiohub
contains SBOL files taken from SynbioHubdummy.xml
describes a basic gene design of Pro-RBS-CDS-Ter