Skip to content

add quilt2 sbwf#11223

Open
atrigila wants to merge 1 commit intonf-core:masterfrom
atrigila:quilt2_sbwf
Open

add quilt2 sbwf#11223
atrigila wants to merge 1 commit intonf-core:masterfrom
atrigila:quilt2_sbwf

Conversation

@atrigila
Copy link
Copy Markdown
Contributor

PR checklist

Closes #XXX

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@atrigila atrigila requested a review from LouisLeNezet April 20, 2026 00:11
@atrigila atrigila marked this pull request as ready for review April 20, 2026 00:11
Copy link
Copy Markdown
Contributor

@LouisLeNezet LouisLeNezet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few small changes, but good to go otherwise !

Comment on lines +56 to +57
ch_versions = ch_versions.mix(QUILT_QUILT2.out.versions_r_quilt)
ch_versions = ch_versions.mix(QUILT_QUILT2.out.versions_r_base)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't QUILT2 use topics for that ?


withName: BCFTOOLS_INDEX {
ext.args = "--tbi"
publishDir = [enabled: false]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think publishDir is necessary for the unittest

tag "glimpse2"
tag "glimpse2/ligate"

test("Impute with quilt2 one individual, one region, map and fasta") {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add the optional bamnames input file to ensure it does work properly.
This file will be necessary for phaseimpute to work with simulated data at the validation step.

# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/subworkflows/yaml-schema.json
name: "bam_impute_quilt2"
description: |
Impute low-coverage BAM or CRAM inputs with QUILT2 and ligate chunked outputs per chromosome.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you just add a line to explain that the regionout key will be used to store temporarily the region and therefore shouldn't be used in the meta maps ?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants