uab-cgds-worthey / quac

🦆 Quality Control of WGS and exome samples 🦆
https://quac.readthedocs.io
GNU General Public License v3.0
5 stars 1 forks source link

Swtich singularity+conda setup to singularity setup for snakemake tasks #70

Closed ManavalanG closed 1 year ago

ManavalanG commented 1 year ago

Pull request

This PR deals with and closes #69. It refactors snakemake pipeline to run all tasks in singularity env instead of singularity+conda setup (and singularity for few tasks). This will improve reproducibility.

What was done?

  1. For conda environments with single tool dependency, biocontainers from quay.io was used.
  2. For conda environments with multiple tools dependency, mulled container was created using biocontainer's multi-package-containers
  3. Rules that used snakemake-wrappers were refactored to remove snakemake-wrapper and instead explicitly define the commands used. This was done as snakemake-wrappers required creation of conda env.
  4. Rule aggregate_sample_rename_configs, which used run directive, was refactored to use shell directive, as run directive would not allow use of container and instead would be run directly by snakemake in the environment it is present in.

Please fill in the checklist below and comment as needed.

Anything else reviewer should know?

No.