docker run --rm --privileged -it -v /media:/media -v /etc/localtime:/etc/localtime:ro grape:latest \
launcher.py find --samples /media/samples.tsv --input /media/input --directory /media/data
snakemake --cores all --use-conda -p all
snakemake --dag all | dot -Tsvg > dag.svg
snakemake --cores all --use-conda -p all
snakemake --cores all --use-conda -R somerule --until somerule
snakemake --cores all --use-conda -p -s workflows/pedsim/Snakefile
docker build -t alexgenx/snakemake:latest -f containers/snakemake/Dockerfile -m 4GB .
docker push alexgenx/snakemake:latest
snakemake --cores all --use-conda -p --configfile config.yaml --directory /media/data -n
snakemake -n -R `snakemake --list-input-changes`
If you want to use the same working directory for different input files it is better to clean-up it first
snakemake --delete-all-outputs --cores 1
- For lifting: chain = '/media/ref/hg38ToHg19.over.chain.gz' ref = '/media/ref/human_g1k_v37.fasta', size = 3G
- For phasing: map = '/media/ref/tables/genetic_map_hg19_withX.txt.gz', size = 51M bcf = '/media/ref/1000genome/bcf/1000genome_chr{1..22}.bcf', size = 14G
- For imputation: m3vcf = '/media/ref/Minimac/{1..22}.1000g.Phase3.v5.With.Parameter.Estimates.m3vcf.gz', size = 3.2G
- For interpolation: map = '/media/ref/genetic_map_b37/genetic_map_chr{1..22}_combined_b37.txt', size = 120M
- For imputation check: tab = '/media/ref/1000genome/allele_info/ALL.wgs.phase3_shapeit2_mvncall_integrated_v5b.20130502.sites.only_rs.biallelic.tab', size = 12G