Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pb deepvariant #7363

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

blajoie
Copy link

@blajoie blajoie commented Jan 24, 2025

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 necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • 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

@blajoie blajoie requested a review from famosab January 24, 2025 15:04
@blajoie
Copy link
Author

blajoie commented Jan 24, 2025

cc @gburnett-nvidia

@@ -44,9 +50,15 @@ nextflow_process {

test("human - bam - intervals") {

config './nextflow.config'
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is now added to all tests we can also move it to the top of the file avoiding too much code duplication :)

Copy link
Author

Choose a reason for hiding this comment

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

yes good idea - we can do that! This seemed to be the pattern used in other module tests, but happy to adjust!

tuple val(ref_meta), path(fasta)
path model_file
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you also include a test that uses this model file?

Copy link
Author

Choose a reason for hiding this comment

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

yes good idea - @gburnett-nvidia and I will find a model file and add a test. Will have to also find a way to host the model file... somewhere.

Copy link
Contributor

Choose a reason for hiding this comment

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

the model file can go into nf-core/test-datasets

Comment on lines +15 to +17
tuple val(meta), path("*.vcf"), optional: true, emit: vcf
tuple val(meta), path("*.g.vcf"), optional: true, emit: gvcf
path "versions.yml", emit: versions
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you align these nicely? (as it was before)

Comment on lines +15 to +16
tuple val(meta), path("*.vcf"), optional: true, emit: vcf
tuple val(meta), path("*.g.vcf"), optional: true, emit: gvcf
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a possibility to return gzipped vcf files as standard?

Copy link
Contributor

@gburnett-nvidia gburnett-nvidia Jan 29, 2025

Choose a reason for hiding this comment

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

Right now there is no way for Parabricks directly to return gzipped vcf files. It would have to be added as an additional step.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maye you can add bgzip to the parabricks docker/singularity container? Then we could easily do it in the script section of the module. That would be very helpful!

Copy link
Contributor

Choose a reason for hiding this comment

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

@famosab famosab mentioned this pull request Feb 3, 2025
17 tasks
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.

4 participants