ampregnall/Hernia-Meta-GWAS

None

Overview

Latest release: None, Last update: 2026-11-23

Share link: https://snakemake.github.io/snakemake-workflow-catalog?wf=ampregnall/Hernia-Meta-GWAS

Quality control: linting: failed formatting: failed

Deployment

Step 1: Install Snakemake and Snakedeploy

Snakemake and Snakedeploy are best installed via the Conda package manager. It is recommended to install conda via Miniforge. Run

conda create -c conda-forge -c bioconda -c nodefaults --name snakemake snakemake snakedeploy

to install both Snakemake and Snakedeploy in an isolated environment. For all following commands ensure that this environment is activated via

conda activate snakemake

For other installation methods, refer to the Snakemake and Snakedeploy documentation.

Step 2: Deploy workflow

With Snakemake and Snakedeploy installed, the workflow can be deployed as follows. First, create an appropriate project working directory on your system and enter it:

mkdir -p path/to/project-workdir
cd path/to/project-workdir

In all following steps, we will assume that you are inside of that directory. Then run

snakedeploy deploy-workflow https://github.com/ampregnall/Hernia-Meta-GWAS . --tag None

Snakedeploy will create two folders, workflow and config. The former contains the deployment of the chosen workflow as a Snakemake module, the latter contains configuration files which will be modified in the next step in order to configure the workflow to your needs.

Step 3: Configure workflow

To configure the workflow, adapt config/config.yml to your needs following the instructions below.

Step 4: Run workflow

The deployment method is controlled using the --software-deployment-method (short --sdm) argument.

To run the workflow with automatic deployment of all required software via conda/mamba, use

snakemake --cores all --sdm conda

Snakemake will automatically detect the main Snakefile in the workflow subfolder and execute the workflow module that has been defined by the deployment in step 2.

For further options such as cluster and cloud execution, see the docs.

Step 5: Generate report

After finalizing your data analysis, you can automatically generate an interactive visual HTML report for inspection of results together with parameters and code inside of the browser using

snakemake --report report.zip

Configuration

The following section is imported from the workflow’s config/README.md.

Describe how to configure the workflow (using config.yaml and maybe additional files). All of them need to be present with example entries inside of the config folder.

Linting and formatting

Linting results
  1/home/runner/work/snakemake-workflow-catalog/snakemake-workflow-catalog/.pixi/envs/default/lib/python3.13/site-packages/google/auth/transport/grpc.py:43: FutureWarning: grpcio < 1.83.0 does not support Post-Quantum Cryptography (PQC). Support for non-PQC environments is deprecated. In April 2027, google-auth will raise its minimum requirements to enforce grpcio >= 1.83.0. For more details on Google Cloud's post-quantum security migration, visit: https://cloud.google.com/security/resources/post-quantum-cryptography
  2  warnings.warn(
  3Lints for snakefile /tmp/tmpz3jdmq8h/workflow/rules/annotation.smk:
  4    * Absolute path "/lsf,/project/,/appl/,/scratch/,/static" in line 93:
  5      Do not define absolute paths inside of the workflow, since this renders
  6      your workflow irreproducible on other machines. Use path relative to the
  7      working directory instead, or make the path configurable via a config
  8      file.
  9      Also see:
 10      https://snakemake.readthedocs.io/en/latest/snakefiles/configuration.html#configuration
 11
 12Lints for rule process_gwas_sumstats (line 1, /tmp/tmpz3jdmq8h/workflow/rules/input.smk):
 13    * No log directive defined:
 14      Without a log directive, all output will be printed to the terminal. In
 15      distributed environments, this means that errors are harder to discover.
 16      In local environments, output of concurrent jobs will be mixed and become
 17      unreadable.
 18      Also see:
 19      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
 20
 21Lints for rule ldsc_correction (line 1, /tmp/tmpz3jdmq8h/workflow/rules/ldsc.smk):
 22    * No log directive defined:
 23      Without a log directive, all output will be printed to the terminal. In
 24      distributed environments, this means that errors are harder to discover.
 25      In local environments, output of concurrent jobs will be mixed and become
 26      unreadable.
 27      Also see:
 28      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
 29
 30Lints for rule filter_maf (line 1, /tmp/tmpz3jdmq8h/workflow/rules/meta.smk):
 31    * No log directive defined:
 32      Without a log directive, all output will be printed to the terminal. In
 33      distributed environments, this means that errors are harder to discover.
 34      In local environments, output of concurrent jobs will be mixed and become
 35      unreadable.
 36      Also see:
 37      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
 38
 39Lints for rule create_meta_analysis_configs (line 11, /tmp/tmpz3jdmq8h/workflow/rules/meta.smk):
 40    * No log directive defined:
 41      Without a log directive, all output will be printed to the terminal. In
 42      distributed environments, this means that errors are harder to discover.
 43      In local environments, output of concurrent jobs will be mixed and become
 44      unreadable.
 45      Also see:
 46      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
 47    * Param data_dir is a prefix of input or output file but hardcoded:
 48      If this is meant to represent a file path prefix, it will fail when
 49      running workflow in environments without a shared filesystem. Instead,
 50      provide a function that infers the appropriate prefix from the input or
 51      output file, e.g.: lambda w, input: os.path.splitext(input[0])[0]
 52      Also see:
 53      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#non-file-parameters-for-rules
 54      https://snakemake.readthedocs.io/en/stable/tutorial/advanced.html#tutorial-input-functions
 55    * Param metal is a prefix of input or output file but hardcoded:
 56      If this is meant to represent a file path prefix, it will fail when
 57      running workflow in environments without a shared filesystem. Instead,
 58      provide a function that infers the appropriate prefix from the input or
 59      output file, e.g.: lambda w, input: os.path.splitext(input[0])[0]
 60      Also see:
 61      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#non-file-parameters-for-rules
 62      https://snakemake.readthedocs.io/en/stable/tutorial/advanced.html#tutorial-input-functions
 63
 64Lints for rule run_metal (line 25, /tmp/tmpz3jdmq8h/workflow/rules/meta.smk):
 65    * No log directive defined:
 66      Without a log directive, all output will be printed to the terminal. In
 67      distributed environments, this means that errors are harder to discover.
 68      In local environments, output of concurrent jobs will be mixed and become
 69      unreadable.
 70      Also see:
 71      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
 72    * Specify a conda environment or container for each rule.:
 73      This way, the used software for each specific step is documented, and the
 74      workflow can be executed on any machine without prerequisites.
 75      Also see:
 76      https://snakemake.readthedocs.io/en/latest/snakefiles/deployment.html#integrated-package-management
 77      https://snakemake.readthedocs.io/en/latest/snakefiles/deployment.html#running-jobs-in-containers
 78
 79Lints for rule identify_lead_variants_metal (line 1, /tmp/tmpz3jdmq8h/workflow/rules/finemapping.smk):
 80    * No log directive defined:
 81      Without a log directive, all output will be printed to the terminal. In
 82      distributed environments, this means that errors are harder to discover.
 83      In local environments, output of concurrent jobs will be mixed and become
 84      unreadable.
 85      Also see:
 86      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
 87
 88Lints for rule format_metal (line 15, /tmp/tmpz3jdmq8h/workflow/rules/finemapping.smk):
 89    * No log directive defined:
 90      Without a log directive, all output will be printed to the terminal. In
 91      distributed environments, this means that errors are harder to discover.
 92      In local environments, output of concurrent jobs will be mixed and become
 93      unreadable.
 94      Also see:
 95      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
 96
 97Lints for rule run_hyprcoloc (line 29, /tmp/tmpz3jdmq8h/workflow/rules/finemapping.smk):
 98    * No log directive defined:
 99      Without a log directive, all output will be printed to the terminal. In
100      distributed environments, this means that errors are harder to discover.
101      In local environments, output of concurrent jobs will be mixed and become
102      unreadable.
103      Also see:
104      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
105
106Lints for rule bayesian_finemapping (line 45, /tmp/tmpz3jdmq8h/workflow/rules/finemapping.smk):
107    * No log directive defined:
108      Without a log directive, all output will be printed to the terminal. In
109      distributed environments, this means that errors are harder to discover.
110      In local environments, output of concurrent jobs will be mixed and become
111      unreadable.
112      Also see:
113      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
114
115Lints for rule run_magma (line 1, /tmp/tmpz3jdmq8h/workflow/rules/annotation.smk):
116    * No log directive defined:
117      Without a log directive, all output will be printed to the terminal. In
118      distributed environments, this means that errors are harder to discover.
119      In local environments, output of concurrent jobs will be mixed and become
120      unreadable.
121      Also see:
122      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
123    * Specify a conda environment or container for each rule.:
124      This way, the used software for each specific step is documented, and the
125      workflow can be executed on any machine without prerequisites.
126      Also see:
127      https://snakemake.readthedocs.io/en/latest/snakefiles/deployment.html#integrated-package-management
128      https://snakemake.readthedocs.io/en/latest/snakefiles/deployment.html#running-jobs-in-containers
129
130Lints for rule run_pops (line 28, /tmp/tmpz3jdmq8h/workflow/rules/annotation.smk):
131    * No log directive defined:
132      Without a log directive, all output will be printed to the terminal. In
133      distributed environments, this means that errors are harder to discover.
134      In local environments, output of concurrent jobs will be mixed and become
135      unreadable.
136      Also see:
137      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
138
139Lints for rule run_hyprcoloc_eqtl (line 55, /tmp/tmpz3jdmq8h/workflow/rules/annotation.smk):
140    * No log directive defined:
141      Without a log directive, all output will be printed to the terminal. In
142      distributed environments, this means that errors are harder to discover.
143      In local environments, output of concurrent jobs will be mixed and become
144      unreadable.
145      Also see:
146      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
147
148Lints for rule create_vep_input (line 70, /tmp/tmpz3jdmq8h/workflow/rules/annotation.smk):
149    * No log directive defined:
150      Without a log directive, all output will be printed to the terminal. In
151      distributed environments, this means that errors are harder to discover.
152      In local environments, output of concurrent jobs will be mixed and become
153      unreadable.
154      Also see:
155      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
156
157Lints for rule run_vep (line 83, /tmp/tmpz3jdmq8h/workflow/rules/annotation.smk):
158    * No log directive defined:
159      Without a log directive, all output will be printed to the terminal. In
160      distributed environments, this means that errors are harder to discover.
161      In local environments, output of concurrent jobs will be mixed and become
162      unreadable.
163      Also see:
164      https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#log-files
165    * Specify a conda environment or container for each rule.:
166      This way, the used software for each specific step is documented, and the
167      workflow can be executed on any machine without prerequisites.
168      Also see:
169      https://snakemake.readthedocs.io/en/latest/snakefiles/deployment.html#integrated-package-management
170      https://snakemake.readthedocs.io/en/latest/snakefiles/deployment.html#running-jobs-in-containers
Formatting results
 1[DEBUG] 
 2[DEBUG] In file "/tmp/tmpz3jdmq8h/workflow/rules/input.smk":  Formatted content is different from original
 3[DEBUG] 
 4[DEBUG] In file "/tmp/tmpz3jdmq8h/workflow/rules/finemapping.smk":  Formatted content is different from original
 5[DEBUG] 
 6[DEBUG] In file "/tmp/tmpz3jdmq8h/workflow/Snakefile":  Formatted content is different from original
 7[DEBUG] 
 8[DEBUG] In file "/tmp/tmpz3jdmq8h/workflow/rules/meta.smk":  Formatted content is different from original
 9[DEBUG] 
10[DEBUG] In file "/tmp/tmpz3jdmq8h/workflow/rules/annotation.smk":  Formatted content is different from original
11[DEBUG] 
12[DEBUG] In file "/tmp/tmpz3jdmq8h/workflow/rules/ldsc.smk":  Formatted content is different from original
13[INFO] 6 file(s) would be changed 😬
14
15snakefmt version: 0.11.5