Repository navigation
Update ampcombi module to use Seqera container - #13504
Merged
Merged
Conversation
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
mashehu
approved these changes
Oct 30, 2026
delfiterradas
pushed a commit
to delfiterradas/modules
that referenced
this pull request
Oct 30, 2026
mahesh-panchal
pushed a commit
to mahesh-panchal/nf-core-modules
that referenced
this pull request
Nov 3, 2026
…n `scrnaseq` (nf-core#13090) * Modify starsolo to work in scrnaseq pipeline * Clean nextflow.config * Update nf-test inputs * Remove unstable files from snapshot * Create conda-lock folder * Starsolo multiple changes * Update container * Capture summary stats for bam output * Ignore empty file * Update meta.yml * Update meta, output files and add tests for missing solotypes * Update paths in the tests and update snapshots * Get statistics instead of md5 for sam outputs * Fix meta.yml * Assert process success outside of assertAll * Do not rely on a NO_FILE empty file * Implement reviewer suggestions * Revert change in .gitignore * Fix linting * Fix prek error * Remove trailing whitespace * Update modules/nf-core/star/starsolo/main.nf Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> * Update modules/nf-core/star/starsolo/main.nf Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> * Update modules/nf-core/star/starsolo/main.nf Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> * Update modules/nf-core/star/starsolo/main.nf Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> * Update modules/nf-core/star/starsolo/meta.yml Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> * Update modules/nf-core/star/starsolo/meta.yml Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> * Update modules/nf-core/star/starsolo/meta.yml Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> * parabricks/mutectcaller: pass --pon to mutectcaller, emit tbi (nf-core#13440) * parabricks/mutectcaller: pass --pon to mutectcaller The panel of normals was prepared with prepon and annotated with postpon, but never passed to mutectcaller via --pon, so PON sites were not filtered during calling. prepon was also silently skipped whenever the index was already named <pon>.tbi: the cp onto itself failed, and its && chain short-circuited prepon without failing the task. Only copy the index when its name differs. Re-enable the PON test by reheadering the chr21 Mills VCF to the reference contigs with bcftools/reheader in a setup block. Generated by Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * parabricks/mutectcaller: assert PON effect explicitly, use sanitizeOutput Snapshot all outputs via sanitizeOutput. The PON test now asserts that --pon reaches mutectcaller, that calls overlapping PON deletions are dropped (and present in the tumour-only test), and that postpon flags PON sites, instead of relying on a snapshot recorded from the fix. Generated by Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * parabricks/mutectcaller: read test VCFs via nft-vcf Replace hand-rolled linesGzip/tab-split parsing with the nft-vcf VcfFile header and VariantContext API. Generated by Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * parabricks/mutectcaller: add intervals and tumour-normal tests Replace the commented-out tests. The intervals test failed only because of the pre-nf-core#11647 input structure. For tumour-normal, the chr21 test BAMs share read group ID and PU, so a setup step renames the normal's read group with samtools/addreplacerg. Drop the tumour-normal + intervals test: no somatic calls fall in the interval gaps, so it adds nothing over the two. Generated by Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * parabricks/mutectcaller: emit the tabix index Parabricks writes Parabricks writes <prefix>.vcf.gz.tbi alongside the VCF, from mutectcaller without a PON and from postpon with one. Expose it as a tbi output so pipelines need no separate indexing step. The index is snapshotted by name only, as its content depends on the VCF header and varies between runs. Generated by Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * parabricks/mutectcaller: name outputs after the prefix A PON index not named <pon>.tbi is copied to that name, and the copy matched the *.vcf.gz.tbi glob, so tbi emitted two files. Name all outputs after the prefix and test a PON with a differently named index. Also accept csi BAM indexes in meta.yml, quote the prepon error for PON headers with extra contigs, and unquote withName selectors in the test config. Generated by Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * parabricks/rnafq2bam: stop pbrun log overwriting STAR Log.final.out (nf-core#13493) --logfile and --out-prefix both wrote ${prefix}.Log.final.out, so the emitted log_final held the pbrun run log instead of STAR's alignment summary. Write the pbrun log to ${prefix}.pbrun.log, and assert in the tests that log_final contains STAR's mapping stats. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Add scdblfinder module (nf-core#13465) * new module: scdblfinder * scdblfinder: add container metadata, conda locks and test snapshot * scdblfinder: gzip the h5ad and return boolean doublet predictions Write the h5ad with gzip compression, as in the other scdownstream modules. The predictions output is now a CSV with a single boolean column (true for doublets), named after the prefix and indexed by cell barcode. This matches the layout of the other doublet detection modules, so scdownstream can combine them. The full scDblFinder table (class, score and related columns) moves to a new scores output. * scdblfinder: pass options through ext.args and address review comments Take only the meta and h5ad as inputs and pass dbr, samples and other scDblFinder options through task.ext.args, with a tests/nextflow.config that sets ext.args from params.module_args. A single string given as samples is read as the name of an obs column. Use ${prefix} in the output paths instead of globs, add the YAML ontology to the versions entries in meta.yml, name the test closure parameters, and snapshot the predictions file in the real tests. * scdblfinder: report all package versions and snapshot sanitizeOutput Report the versions of anndataR, SingleCellExperiment, BiocParallel and rhdf5 in versions.yml, in the template and in the stub. Snapshot sanitizeOutput(process.out) in the real tests, with the h5ad and scores channels as unstable keys and the scores line count alongside. Add the nf-core licence header to main.nf, shorten the predictions description in meta.yml and drop a comment that repeated the code. * Bump fgumi to 0.9.0 (nf-core#13496) * bump fgumi to 0.9.0 * bump snaps * gatk4/haplotypecaller: emit realigned BAM index (nf-core#13460) When --bam-writer-type is set, HaplotypeCaller writes <prefix>.realigned.bai next to the realigned BAM (BAM index creation is on by default), but only the BAM was declared as an output. The index was therefore not staged out of the task work dir when scratch is enabled, and could not be reliably passed downstream. Add an optional `bai` output (*.realigned.bai), create it in the stub, and document it in meta.yml. Add a stub test covering the new output. Claude-Session: https://claude.ai/code/session_01N14QD6WfKfDC1pFysaurQL Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com> * new module: celltypist (nf-core#13438) * new module: celltypist * celltypist: add a real test and point the model input at a .pkl The stub-only test passed an .h5ad as the model. Both tests now use a normalised pbmc3k query and a small CellTypist model, to be added to nf-core/test-datasets. The snapshot will be regenerated once that data is available. * celltypist: add test snapshot * celltypist: apply prettier quoting to meta.yml * celltypist: check output line counts instead of checksums The scores in the CSV outputs are floating point values that can differ in the last digits between platforms, so the real test now checks the number of lines in each file and snapshots only the versions. * celltypist: use a Seqera container and expose the optional files Build the container with nf-core modules containers create and add the containers block and conda lock files. Add the optional over_clustering, gene_file and cell_file inputs, and the optional xlsx and plots outputs. The CSV outputs are optional as well, since CellTypist writes only the Excel file when --xlsx is used. Use ${prefix} in the output names instead of globs, add tests/nextflow.config for ext.args, add a test for --xlsx and --plot-results, and snapshot sanitizeOutput(process.out) in the tests. * celltypist: follow ext.args in the stub and test the optional inputs Make the stub write the Excel workbook and the plot instead of the three CSV files when --xlsx and --plot-results are given. Add a test for over_clustering with --majority-voting, using a label file generated in the test, and move the line counts into the snapshots. Widen the h5ad input pattern to the formats CellTypist accepts and add EDAM terms to the input formats in meta.yml. * celltypist: test matrix market input and majority voting Add a test with a small matrix market input and gene and cell files generated in the test, and snapshot the header of the majority voting labels file. Snapshot the checksum of predicted_labels in the plain test. Add the binary format term for the model in meta.yml and shorten the descriptions, starting the output descriptions with "Optional". * celltypist: snapshot the majority voting labels checksum The labels file is the same on every run when an over-clustering file is given, so snapshot its checksum instead of exempting it and checking only the header line. * varnet: bump to 1.5.4, version from --version, tumor-only support (nf-core#13147) * varnet: bump to 1.5.4, report version from --version, support tumor-only mode * varnet/filter: sort candidates so the output does not depend on the filesystem * varnet: take the tumor-only resources as individual files, staged with stageAs * summarizedexperiment: keep all-NA sample columns so assays stay aligned (nf-core#13498) * summarizedexperiment: keep all-NA sample columns so assays stay aligned A sample with no reads is all zero in counts but all NA after length scaling, and an all-NA column is read as logical, so it was dropped from that matrix only and checkRowColNames() stopped with "Rows or columns different among input matrices". Keep an all-NA column when the same column is numeric in another matrix; all-NA annotation columns are still dropped. Adds a regression test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * summarizedexperiment: coerce only all-NA columns; snapshot versions in new test Test columns by position rather than by name (duplicate names survive read_delim_flexible), and convert only the logical all-NA columns to numeric so integer count assays keep their type. The new test now snapshots versions like the other tests and writes its inputs line by line with sort: false so the header stays first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * summarizedexperiment: warn on dropped all-NA columns; check samples in test Warn when an all-NA column is dropped because it is not numeric in any input matrix, so a sample that is all-NA everywhere no longer disappears silently. Coerce only the kept all-NA columns. Print the SummarizedExperiment summary at the end of the session log, and have the all-NA test assert that both assays and both samples are present. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Update ampcombi module to use Seqera container (nf-core#13504) * Update ampcombi2 module to use Seqera containers (nf-core#13506) * Update angsd module to use Seqera Containers (nf-core#13508) * Update angsd module to use Seqera Containers * Restore meta.yml schema lines and update angsd snapshots The Seqera container (angsd 0.940 with htslib 1.17) produces different md5s for the contamination and GL soapsnp outputs, so the affected snapshots were regenerated on linux/amd64. Generated by Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Fix typo and implement multiple testing scenarios * Update snapshot * Fix linting * Remove unstable file from snapshot * Get summary name and line count in snapshot --------- Co-authored-by: Evangelos Karatzas <32259775+vagkaratzas@users.noreply.github.com> Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Jonathan Manning <jonathan.manning@seqera.io> Co-authored-by: Iraaj G. <98648540+iraajgangavaram@users.noreply.github.com> Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com> Co-authored-by: Anders Sune Pedersen <37172585+asp8200@users.noreply.github.com> Co-authored-by: Kiran Krishnamachari <kirankchari@gmail.com> Co-authored-by: Pauline Fourgoux <20558943+paulinefx@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #13503