-
Notifications
You must be signed in to change notification settings - Fork 6
Home
jonca79 edited this page Feb 28, 2022
·
40 revisions
Welcome to the Twist_DNA_Solid wiki!
git clone https://github.com/genomic-medicine-sweden/Twist_DNA_Solid.git
cd Twist_DNA_Solid
python3.9 -m venv ~/Snakemake/venv/
source ~/Snakemake/venv/bin/activate
pip install -r requirements.txt
pip install hydra_genetics
#Generate sample and unit files
hydra-genetics create-input-files -d path/dir1 -d path/dir2
#Run the pipeline
module add snakemake singularity slurm-drmaa
snakemake --notemp --profile slurm -s workflow/Snakefile -j 100 --restart-times 2 \
--use-singularity --singularity-args "-e --cleanenv -B /projects -B /data -B /beegfs-storage"
- workflow/Snakefile - Imports selected modules from hydra-genetics
- workflow/rules/common.smk - Specifies the output files that we want to keep
- workflow/rules/results_files.smk - Rules that copy output files (specified in common.smk) from the output of the pipeline to the results folder structure of your choice
- config/config.yaml - Specification of where all the prerequisite files are, of containers and of pipeline specific parameters.
- config/resources.yaml - Specification of default resources used on the cluster and rules using non-standard values (i.e. extra cores or time)
- slurm/config.yaml - Slurm profile