Run DICAST via Command Line Interface
In this section we will explain how to use DICAST to run a whole pipeline on the terminal alone.
Make sure you followed the steps described in the setup section carefully.
Change config.sh according to your run (see How to change your config.sh file)
Before getting started make sure to activate the snakemake conda environment:
conda activate dicast-snakemake
Snakemake is set up to run all tools in parallel, meaning if the pipeline is run unrestricted, it will use all available cores. Be sure to set the number of cores to limit the resources available to Snakemake (explained below).
- To run the snakemake pipeline:
Go to /path/to/DICAST/scripts/snakemake
Edit snakemake_config.yaml to list the tools you want to run in the corresponding lines.
Use a snakemake command. For example:
See snakemake -h E.g.: snakemake -j 2 -d /opt/DICAST/dockers -s Snakefile --configfile snakemake_config.yaml
Set the number of cores used by the pipeline.
Set the path to the Snakemake file.
Set the path to the working directory (containing the input, scripts folder etc.)
Set the path to the configuration file which specifies what part of the pipeline to run.
For more information, see the Snakemake documentation.
This feature has been depreciated and needs another Snakefile, without the
Possible_overwrite_acknowledge rule. We keep this documentation here, for future support and to show you how the tool works under the hood.
Check log files under output/<tool>-output/logs/
If a run was canceled/exited unexpectetly and the directory is still locked, try running the same snakemake command again with
--unlockor remove the files from
Snakemake itself creates some logging files, they can be found in