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

MuTect2 Module #153

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Open

MuTect2 Module #153

wants to merge 13 commits into from

Conversation

rnaidu
Copy link
Collaborator

@rnaidu rnaidu commented Oct 28, 2024

PR checklist

  • Module created for MuTect2 variant caller. MSK-modules version is being created for MuTect2 since nf-core MuTect module includes two mandatory file parameters (panel of normals and germline resources) which are not needed in the base command reflected in this module. Please refer to nf-core MuTect2 module docs for more info: https://nf-co.re/modules/gatk4_mutect2
  • Check to see if a nf-core module, or subworkflow is available and usable for your pipeline.
  • Feature branch is named feature/<module_name> for modules, or feature/<subworkflow_name> for subworkflows. For modules, if there is a subcommand use: feature/<module_name>/<module_subcommand>.
  • 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.
  • Use nf-core data if possible for nf-tests. If not, use or add test data to mskcc-omics-workflows/test-datasets, following the repository guidelines, for nf-tests. Finally, if neither option is feasible, only add a stub nf-test.
  • 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 Jfrog 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 --git-remote https://github.com/mskcc-omics-workflows/modules.git -b <module_branch> test <MODULE> --profile docker
      • nf-core modules --git-remote https://github.com/mskcc-omics-workflows/modules.git -b <module_branch> test <MODULE> --profile singularity
      • nf-core modules --git-remote https://github.com/mskcc-omics-workflows/modules.git -b <module_branch> test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows --git-remote https://github.com/mskcc-omics-workflows/modules.git -b <subworkflow_branch> test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows --git-remote https://github.com/mskcc-omics-workflows/modules.git -b <subworkflow_branch> test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows --git-remote https://github.com/mskcc-omics-workflows/modules.git -b <subworkflow_branch> test <SUBWORKFLOW> --profile conda

@rnaidu rnaidu self-assigned this Oct 28, 2024
@rnaidu rnaidu marked this pull request as ready for review October 28, 2024 17:32
@rnaidu rnaidu requested a review from a team as a code owner October 28, 2024 17:32
@rnaidu rnaidu requested a review from buehlere October 28, 2024 17:32
Copy link
Collaborator

@buehlere buehlere left a comment

Choose a reason for hiding this comment

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

The testing and linting aren't running properly for this modules. I think it might be because you're missing some testing files.

@@ -0,0 +1,49 @@
process MUTECT2 {
Copy link
Collaborator

@buehlere buehlere Oct 28, 2024

Choose a reason for hiding this comment

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

I think you're missing the tag.yml and main.nf.test.snap files. You might want to double check some other parts of the nf-test. This might be why the testing and linting aren't running properly?

modules/msk/mutect2/meta.yml Outdated Show resolved Hide resolved
@rnaidu rnaidu marked this pull request as draft October 29, 2024 18:02
@rnaidu rnaidu requested a review from buehlere October 30, 2024 16:14
@rnaidu rnaidu marked this pull request as ready for review October 30, 2024 16:14


"""
gatk "Mutect2" \\
Copy link
Collaborator

@johnoooh johnoooh Nov 4, 2024

Choose a reason for hiding this comment

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

Might be good to add in an arg here so we can add java options. In tempo we set the Xmx for example so it may be good to add a ${jvmarg} here or something. This is how it looks in our Tempo Module.

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