Once you have installed all dependencies (listed in INSTALL.md, go to the folder where you have downloaded the source code. Then type the following in a terminal:
node ucfToSBOL.js
If you are using the default UCF file, this will create the following files:
- cello.xml - in the
/result/
folder. - circuitConstraints.json - in the
/result/
folder. - 14 cytometry json files - in the
/result/cytometry/
folder. - 14 toxicity json files - in the
/result/toxicity/
folder.
The default UCF file used by the script is /ucf/Eco1C1G1T0.UCF.json
. You can use the script for any Cello UCF file. Replace the value of the ucfFilepath
variable in /ucfToSBOL.js
.
You can also change the filepath of the folder where the result files are created by changing the value of the resultFolder
variable of the main result folder, the cytometryFolder
variable to change where the cytometry json files are created, the toxicityFolder
to change where the toxicity json files are created and the resultSBOL
variable to change the name and filepath of the resulting SBOL file.
- In a browser, type the address of the desired synbiohub instance.
- Log in (or sign up if you do not have an account).
- Click on the Submit button in the top right.
- In the submission form, fill in the ID, VERSION, NAME, DESCRIPTION, CITATIONS (Pubmed IDs if any).
- Upload the cello.xml (or the name of the xml file if you changed the output file) in the SBOL/GENBANK/FASTA FILE.
- Click submit.
Once the file has been submitted, you can make the collection public by clicking the Make Public button.
- Once the SBOL file has been submitted, click on the newly created Collection.
- Upload the circuitConstraints.json as an attachment.
- Search for each ComponentDefinition for the following gates (if you are using the default Cello UCF file):
- A1_AmtR
- B1_BM3R1
- B2_BM3R1
- B3_BM3R1
- E1_BetI
- F1_AmeR
- H1_HlyIIR
- P1_PhlF
- P2_PhlF
- P3_PhlF
- S1_SrpR
- S2_SrpR
- S3_SrpR
- S4_SrpR
- For each such Component Definition, attach the corresponding cytometry and toxicity json file.