This applet create a machine instance with GPU support and latest NVIDIA drivers and run any bash script you want using a container snapshot.
dx run /apps/snapshot_gpu_run \
-isnapshot=project-xxxxxxxxx:/sanpshots/snapshot.tar.gz \
-iinput_files=project-xxxxxxxxx:/data/input_file1.tsv \
-iinput_files=project-xxxxxxxxx:/data/input_file2.csv \
-icmd='echo "This is a test" > /outputs/test_out.txt; ls /inputs >> /outputs/test_out.txt'When running a command in the app:
- input files are available in
/inputsfolder - output files saved to the
/outputsfolder are automatically uploaded to the configured destination folder in the DNANexus space - the
dxcommand is available in the app, so you can use it to interact with the DNANexus project filesystem if needed
snapshot: a docker file snapshot generated in DNANexuscmd: a command string in bash to execute in the container
input_files: additional input files