Repository navigation
First pipeline release - #54
BenjaminWehnert1008 wants to merge 621 commits into
Conversation
Update output.md
updated image embedding in README.md and output.md
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
transfer parameter definitions from deepmutscan.nf to nextflow.config
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
…/r_script_handling
Use templates for R scripts and use subworkflow for fitness calculation
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
New template update - 3_5_2
updated test data paths and other minor changes
fix usage of stops/synonymous mutations depending on availability
extended the possible codon alphabet; renamed 'max_diff_to_wt' to 'nnk_nns'
The Singularity images Seqera Containers builds use an Amazon Linux 2023 base that ships no findutils, so MERGE_ALIGN failed with exit 127 under -profile singularity. Globbing with bash parameter expansion needs no external binary. The leading ./ is kept so $INDEX stays ./bwa/<prefix>, which bwa writes into the BAM PG header, leaving the snapshot unchanged.
Resolve the BWA index prefix without find(1)
…cal modules; set manifest.diagram
Container metadata, conda lock files and container configs for all local modules
|
Hi @piplus2, Thanks again for your follow-up! We have completed both of these remaining points now:
We also set Could you take another look when you have time? Many thanks! |
piplus2
left a comment
There was a problem hiding this comment.
Hi @MaximilianStammnitz and @BenjaminWehnert1008,
Thanks for wrapping these up! I checked the current head (eb0d3ce): the full conda/docker/singularity matrix is green on both Nextflow versions, and conf/containers_*.config now cover all local modules. The arm64 exceptions for RUN_MUTSCAN and RUN_DIMSUM are reasonable and well documented in usage.md. All my inline threads are resolved too.
The remaining items (release date/name, Zenodo DOI, module version bumps, EDAM) are fine as release-day tasks or follow-ups.
Great work on this, it's a big improvement since the first round. LGTM, congrats on the first release! 🎉
maxulysse
left a comment
There was a problem hiding this comment.
First quick pass.
I am slightly confused by the execution trace, are you in need of such a file in your report?
…TML report now links to Nextflow's execution report instead of reading the trace
Corrections to the CHANGELOG and report no longer reading the trace
maxulysse
left a comment
There was a problem hiding this comment.
I think the R scripts could gain to be re-assess.
I like that you kept them bundled in templates, but I do think we can move to bin, and try to reuse some of the code, instead of copying it.
Made some other comments on the code.
I would pay attention to queue vs value channel for the references.
Other general comment on my part, is I think some part are slightly too complex, or over designed, and would gain from being simplified, but I know how hard it can be, and I do like what you have made here, but I think collaborators and future you would like less maintenance burden
…oadcasts; COUNTS_TO_FITNESS version; apptainer image for RUN_DIMSUM; new snapshot
|
Thanks again @maxulysse for these thorough checks! 😇 The value channel update and some other small fixes are now in #99. On the R scripts and overall complexity: fair point. @BenjaminWehnert1008 and I agree that shared R code should live in one place, and we've opened #101 for v1.1.0. A good part of our v1.1.0 performance overhaul plans already goes towards that direction: fewer but larger processes, improved thread use and some tool replacements/upgrades (e.g. |
Value channels for the reference and samplesheet; COUNTS_TO_FITNESS version; apptainer for RUN_DIMSUM
Update download_pipeline.yml
# Conflicts: # ro-crate-metadata.json
Important! Template update for nf-core/tools v4.2.2
First release: nf-core/deepmutscan v1.0.0
This PR merges
devintomasterfor the first release of nf-core/deepmutscan. @MaximilianStammnitz and I would be very grateful for your release reviews 🙏🙂.What this pipeline does
nf-core/deepmutscanprocesses deep mutational scanning (DMS) data from short-read sequencing of site-saturation mutagenesis libraries. It was primarily designed for shotgun sequencing of long open reading frames, where the variant library is randomly fragmented before sequencing (no tiling or barcoding), and it handles amplicon data in the same way. Importantly, because variant frequencies in shotgun sequencing data are often sparse – below 1 in 10,000 reads – and thus in the range of per-base sequencing error rates (Q30-Q40), we conceptualise and implement key single-nucleotide count error correction modules.AnalyzeSaturationMutagenesis, column-compatible output) → annotation and filtering against the programmed codon library (--mutagenesis_type).--dimsum) and mutscan edgeR/limma (--mutscan); optional interactive 3D variant effect inspection tool from a user-supplied structure (--pdb).deepmutscan_report.htmlper run.Testing
-profile test: 50,000 read-pair subsamples of a minimal GID1A nicking-mutagenesis GluePCA experiment (2 input + 2 output libraries) on thedeepmutscanbranch of nf-core/test-datasets, with fitness, DiMSum, mutscan and the structure viewer switched on. nf-test snapshot test intests/default.nf.test.-profile test_full: the complete GID1A experiment (3 input + 3 output libraries, ~480M read pairs) from ENA project PRJEB110196, linked from a samplesheet on the same test-datasets branch, with fitness, DiMSum, mutscan and the structure viewer switched on (Full-size test profile (test_full) and AWS full test #68).test_fullsamplesheet and the GID1A AlphaFold DB structure used by--pdb).Known follow-ups
Done since this PR was opened:
Release review: many thanks @piplus2! We are working through the points in a few small PRs into
dev(correctness of counting and mutscan, module containers/versions/ext.args, docs and citations). Once these are merged, we will reply to every point here in one go, so that only one re-review is needed.Planned for later releases (see the milestones and the roadmap in #90):
--repair_pairs) #86PR checklist
testprofile)nf-core pipelines lint). (passes with nf-core/tools 4.1.0; see Important! Template update for nf-core/tools v4.1.0 #65)nextflow run . -profile test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).Many thanks in advance to the reviewers, and to @mirpedrol and @mashehu for their guidance along the way.