Standalone GSL server for the Genetic Constructor GSL extension.
- First, install the module dependencies via npm.
npm install
- If you are running an instance of the server locally, you also need to install fsharp and mono by running the following command from the server's root directory (
gsl-standalone/
).
npm run install-fsharp
Alternatively, you could manually install these by following the instructions given for Mac, Linux or Windows.
- As a part of the postinstall stage of the GSL extension, a pre-built fork of the GSL repository will be cloned and used by the extension's server to run GSL code. The development fork of the Gslc repository can be found here. You could also install it manually by running the following command from the server's root directory (
gsl-standalone/
).
npm run install-gsl
- You could also run it from within a docker container using the given Dockerfile.
As shown below, at a high level, the GSL extension is made up of the following components:
-
The client : Displayed in the project details section of the Genetic constructor.
-
The intermediate (forwarding) server : A lightweight server that simply mediates between the GSL client extension in the browser and the remote external GSL server.
-
The GSL server : The GSL server does the heavy lifting of running the Gslc.exe command and producing output packages available for download. It is located at
https://gsl.dev.bionano.autodesk.com/
Note: As shown in the diagram by the grey box, this repository includes functionality noted in (3)