-
Notifications
You must be signed in to change notification settings - Fork 498
WIP: Fix warning nf core lint and nextflow lint #1955
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
base: dev
Are you sure you want to change the base?
Conversation
|
|
tests warnings: 258 -> 129 |
dad9403 to
c535870
Compare
|
solving conflicts locally, as there's a complex snapshot merge conflict involved |
famosab
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few general points:
- does not need to be fixed here but I think we should be more consistent in the code commenting (stuff like channel: [...])
- I am not a fan of just adding a _ after the name like
bam_to suppress the warning. I would go for something more descriptive likebam_fileor change the channel name toch_bamto get rid of the warning. - I noticed some changes in the snaps that I did not expect (like more processes being run), maybe we can address those? (I did not comment where I just saw that versions were being recovered :)
Note:
- I did not review the nf-core modules, will check for the versions though after submitting this review.
| - [1955](https://github.com/nf-core/sarek/pull/1955) - Fix nf-core/tools lint Pipeline Test Warnings | ||
| - [1955](https://github.com/nf-core/sarek/pull/1955) - Fix nf-core/tools lint Subworkflow Test Warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you split this here in the Changelog?
| - [1955](https://github.com/nf-core/sarek/pull/1955) - Fix nf-core/tools lint Pipeline Test Warnings | |
| - [1955](https://github.com/nf-core/sarek/pull/1955) - Fix nf-core/tools lint Subworkflow Test Warnings | |
| - [1955](https://github.com/nf-core/sarek/pull/1955) - Fix nf-core/tools lint Pipeline and Subworkflow Test Warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself to check this in the end again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have nf-test tests for the local modules or do we not do that because they are quite simple? Just wondering.
| touch ${meta.id}.reindex.bam | ||
| touch ${meta.id}.reindex.bam.bai |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No prefix needed?
| genotype_index // channel: [ val(meta), [ tbi ] ] | ||
| genotype_vcf // channel: [ val(meta), [ vcf ] ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| genotype_index // channel: [ val(meta), [ tbi ] ] | |
| genotype_vcf // channel: [ val(meta), [ vcf ] ] | |
| genotype_index // channel: [ meta, tbi ] | |
| genotype_vcf // channel: [ meta, vcf ] |
or are these multiple vcfs / tbis?
| "-profile test --input tests/csv/3.0/mapped_single_bam.csv --step markduplicates --skip_tools markduplicates --tools false": { | ||
| "content": [ | ||
| 9, | ||
| 12, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 more, on purpose?
| "-profile test --input tests/csv/3.0/mapped_single_bam.csv --step prepare_recalibration --tools false": { | ||
| "content": [ | ||
| 7, | ||
| 10, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 more, on purpose?
| "INDEX_CRAM": { | ||
| "samtools": 1.21 | ||
| }, | ||
| "MOSDEPTH": { | ||
| "mosdepth": "0.3.10" | ||
| }, | ||
| "SAMTOOLS_STATS": { | ||
| "samtools": 1.21 | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these here on purpose?
| @@ -1,26 +1,26 @@ | |||
| { | |||
| "-profile test --tools cnvkit --input recalibrated.csv --only_paired_variant_calling": { | |||
| "-profile test --tools cnvkit --input recalibrated_somatic.csv": { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the order again to make the snapshots comparable on review?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Order of snapshots
Replaces fully #1911
Overlaps a bit with #1912
Splitting this beast in:
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).