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

Phaseimpute template update and pass first test #5

Merged
merged 72 commits into from
Mar 19, 2024

Conversation

LouisLeNezet
Copy link
Collaborator

Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release.

Learn more about contributing: CONTRIBUTING.md
-->

PR checklist

  • This comment contains a description of changes (with reason).
  • 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 lint).
  • Ensure the test suite passes (nf-test test main.nf.test -profile test,docker).
  • 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).

.prettierignore Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

look like it's just adding chr to the chromosome, any other way to do so, that doesn't rely on such a list?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That could be a module using a fai ?

Copy link
Member

Choose a reason for hiding this comment

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

similar question for this one

conf/test.config Outdated Show resolved Hide resolved
LouisLeNezet and others added 4 commits March 19, 2024 09:35
Co-authored-by: Maxime U Garcia <[email protected]>
Co-authored-by: Maxime U Garcia <[email protected]>
Co-authored-by: Maxime U Garcia <[email protected]>
Co-authored-by: Maxime U Garcia <[email protected]>
@@ -22,7 +22,7 @@ params {
map = "/groups/dog/llenezet/test-datasets/data/genetic_maps.b38/chr21.b38.gmap.gz"
genome = "GRCh38"
fasta = "/groups/dog/llenezet/script/phaseimpute/data/genome.fa"
Copy link
Member

Choose a reason for hiding this comment

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

I feel like these path are a bit too specific to your system, but that can be fix later on, just don't forget about it, otherwise the megatests will fail badly

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For sure.
I'm currently working on the creation of such dataset

main.nf Show resolved Hide resolved
},
"bedtools/makewindows": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"git_sha": "3b248b84694d1939ac4bb33df84bf6233a34d668",
"installed_by": ["vcf_phase_shapeit5"]
},
"custom/dumpsoftwareversions": {
Copy link
Member

Choose a reason for hiding this comment

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

not deleted yet?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@maxulysse what do you mean by not deleted yet ?

- def annotations_file = annotations ? "--annotations ${annotations}" : ''
+ def header_file = header_lines ? "--header-lines ${header_lines}" : ''
+ def annotations_file = annotations ? "--annotations ${annotations}" : ''
+ def rename_chr_cmd = rename_chr ? "--rename-chrs ${rename_chr}" : ''
Copy link
Member

Choose a reason for hiding this comment

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

oh I see, this is where it's coming from

Copy link
Member

Choose a reason for hiding this comment

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

Maybe that can be added to the module then

Copy link
Member

@maxulysse maxulysse 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 merged commit ce3cc27 into nf-core:dev Mar 19, 2024
4 checks passed
atrigila pushed a commit that referenced this pull request Mar 27, 2024
Phaseimpute template update and pass first test
@LouisLeNezet LouisLeNezet added the enhancement New feature or request label Apr 24, 2024
@LouisLeNezet LouisLeNezet added this to the v0.99.0 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants