SuperGSL is a python implementation of the Genome Specification Language (GSL) for genetic engineering. SuperGSL is very alpha so it's probably a bad idea to rely on it for, well, anything.
SuperGSL is inspired by the original Genome Specification Language (See: Paper & Code) written by Erin Wilson, Darren Platt and many others at Amyris.
See how SuperGSL differs from the original GSL here.
SuperGSL can be installed using the python package manager.
pip install supergsl
This will add two commands into your environment- sgsl
and sgsl-util
. These two commands can used to invoke the compiler and utility commands respectively.
SuperGSL comes with a Dockerfile and docker-compose file such that you can run superGSL without polluting your local environment.
Using docker you can do the following:
To run tests and mypy type validations:
docker-compose run supergsl test
To start the REPL shell:
docker-compose run supergsl
To run the compiler with source input file:
docker-compose run supergsl sgsl <input-file>