...
Code Block | ||
---|---|---|
| ||
charityengine.docker(image, commandline, inputfile) PARAMETERS image // DockerHubURL or NameDocker orHub URLname of the Docker image to run [string] [required] commandline // Command to execute within the container [string] [required] inputfile // Names of local files to use as input [array of string] |
...
The default execution environment is Node.js, per Section 1 above, "General Usage". For running source code or scripts in other interpreted languages, just download the execution environment of your choice from Docker Hub, following the instructions in Section 2.1 above. For example,(TODO: provide Python example using Docker)
Code Block | ||
---|---|---|
| ||
charityengine.python(commandline, inputfile) PARAMETERS commandline // Command line for the application [string] [required] inputfile // Names of local files to use as input [array of string]docker("python:slim", "python /local/input/hello-world.py", ["hello-world.py"]) |
Charity Engine Application Library
...
For example, to generate a chi-squared distribution with v
with 22
degrees of freedom using Wolfram Engine:
Code Block | ||
---|---|---|
| ||
charityengine.wolframengine('ChiSquareDistribution[v22]'); |
vina
Run a protein-ligand binding simulation
...