Skip to content

Ribodetector and RustQC Additions#47

Closed
mikemartinez99 wants to merge 26 commits into
masterfrom
dev-ribodetector
Closed

Ribodetector and RustQC Additions#47
mikemartinez99 wants to merge 26 commits into
masterfrom
dev-ribodetector

Conversation

@mikemartinez99

@mikemartinez99 mikemartinez99 commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Ribodetector

  • Implemented ribodetector rule in snakefile
  • Added scripts/ribo_stats.sh to generate ribs statistics compatible with MultiQC

RustQC

  • Added optional parameter to invoke RustQC, if false, samtools stats is ran as it previously was
  • Added singularity call instructions to job.script.sh if run_rustqc is true
  • Added rustqc rule to Snakefile
  • Dynamically generate multiqc report to include rustQC and ribodetector outputs depending on if they are invoked or not.
  • Tested outputs against previous pipeline run

General linting

  • Added messages to each Snakemake rule for easier log parsing
  • Added toggle params in config.yaml and all prebuilt_configs for ribodetector and rustQC

- Implemented ribodetector rules and associated conda environment
- Implemented RustQC and added singularity requirement in job script to run it.
- Updated multiqc config to support branding to CQB and new QC report
- IMplemented basic QC report (what we previously had) and detailed QC report
@mikemartinez99 mikemartinez99 added the enhancement New feature or request label Apr 17, 2026
mikemartinez99 and others added 24 commits April 17, 2026 18:13
Removed script parameter from ribodetector rule.
- Rename `env_configs` with `rna` prefix
- Create Dockerfiles based on `singularity/defs`
- Host containers on ghcr
- Update `env_config` yaml name in `conda` directives
- Add `container` directives to point to ghcr location
- Add toggleable params (ribodetector, rustQC, Rsem) as separate rules
- Add `build_refs` and `check_refs` as separate rules
- Add `hisat.smk` and `star.smk` to clean up main `Snakefile`
- Also add `job.script.conda.sh` for conda support
In shell call, the first argument to `ribo_stats.sh` needs to be relative to the `additional_rules/ribodetector` so `../../` is needed.
- `rg ID` becomes `--rg-id`
- Fix path bug in `ribodetector.smk`
- Script crashes when `sns.clustermap` has recursion error.
Wrap the clustering in a `try/except` block so script doesn't exit when non-zero clustering fails.
Instead, it prints a warning, let's the script exit safely
…rity

Restructuring and Singularity Support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants