Skip to content

Adding Minimac4 to phaseimpute#204

Closed
gichas wants to merge 38 commits intonf-core:devfrom
gichas:minimac4
Closed

Adding Minimac4 to phaseimpute#204
gichas wants to merge 38 commits intonf-core:devfrom
gichas:minimac4

Conversation

@gichas
Copy link
Copy Markdown

@gichas gichas commented Jul 15, 2025

PR checklist

  • 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 pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/phaseimpute branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@gichas gichas closed this Jul 15, 2025
@gichas gichas reopened this Jul 15, 2025
@nf-core-bot
Copy link
Copy Markdown
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.3.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@gichas gichas changed the base branch from master to dev July 15, 2025 08:12
Copy link
Copy Markdown
Author

@gichas gichas left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Added MINIMAC4 support to nf-core/phaseimpute pipeline:

New modules:

  • minimac4/compressref - Compresses reference panels to MSAV format
  • minimac4/impute - Performs genotype imputation

New subworkflow:

  • vcf_impute_minimac4 - Complete MINIMAC4 imputation workflow

Integration:

  • Added MINIMAC4 to main workflow with proper chromosome handling
  • Updated schema validation to include minimac4 as valid tool
  • Added test profile test_minimac4

Testing:

  • nf-test coverage for modules and subworkflows
  • Integration tests with test datasets

Ready for review

@LouisLeNezet LouisLeNezet self-requested a review July 15, 2025 14:00
Copy link
Copy Markdown
Collaborator

@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 changes needed, but good work otherwise !
You also need to update the CHANGELOG.md, add the dependencies and yourself in the contributors.

@gichas gichas requested a review from LouisLeNezet July 17, 2025 09:12
Copy link
Copy Markdown
Collaborator

@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.

Can you fix the merging conflict ?

@gichas gichas requested a review from LouisLeNezet July 18, 2025 12:53
Copy link
Copy Markdown
Collaborator

@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.

There seems to be an issue with how the file was modified.
Did you perhaps modified the file on windows ?
This might cause a change in the newline character.

@gichas gichas requested a review from LouisLeNezet July 20, 2025 17:05
Copy link
Copy Markdown
Collaborator

@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 changes before approving !

Could you add the description in the usage.md ?

@gichas gichas requested a review from LouisLeNezet July 22, 2025 09:46
Copy link
Copy Markdown
Collaborator

@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 little addition needed for the documentation

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please update the - --tools [glimpse1, glimpse2, quilt, stitch]: A selection of one or more of the available imputation tools.

@gichas gichas requested a review from LouisLeNezet July 28, 2025 14:07
Copy link
Copy Markdown
Collaborator

@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.

LGTM

@LouisLeNezet LouisLeNezet mentioned this pull request Nov 10, 2025
11 tasks
@LouisLeNezet
Copy link
Copy Markdown
Collaborator

Similarly to beagle5.
All this work have been transferred to a new PR #211 to fix the merging issues.

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.

3 participants