-
Notifications
You must be signed in to change notification settings - Fork 950
Fastq screen #3574
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
Fastq screen #3574
Conversation
SPPearce
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.
This is looking really close, if the suggested change fixes the error.
Co-authored-by: Adrien Coulier <[email protected]>
Co-authored-by: Simon Pearce <[email protected]>
Co-authored-by: Simon Pearce <[email protected]>
Co-authored-by: Simon Pearce <[email protected]>
SPPearce
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.
Looking close! Just the conda check is complaining about a md5sum being different, can you swap that to a contains text?
SPPearce
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.
I'd like to get another review for this before merging, as it is a very tricky tool to get working.
Well done to all those involved.
* new module picard/scatterintervalsbyns * update annotsv to 3.3.6 * update installannotations * new module gem2/gem2bedmappability * add sizes output * update meta * review comments
* new module picard/scatterintervalsbyns * update annotsv to 3.3.6 * update installannotations * update genmap modules * revert label changes index
* update modules * update uri * review suggestions * update germlinecnvcaller
* update modules * update uri * review suggestions * update germlinecnvcaller * update params
* Add singularity.registry = 'quay.io' for tests * Bump min NF version to 23.04.0 * Move registry definitions to top-level config scope --------- Co-authored-by: Gregor Sturm <[email protected]>
* add README * Implement cellranger autorename * Fix container paths * Various fixes * Revert "Fix container paths" This reverts commit 4163e2b. * Update modules/nf-core/cellranger/count/templates/cellranger_count.py Co-authored-by: Kevin L. Keys <[email protected]> * Apply suggestions from code review Co-authored-by: Kevin L. Keys <[email protected]> * Include container registry * Update modules/nf-core/cellranger/count/main.nf Co-authored-by: Maxime U Garcia <[email protected]> * Update documentation --------- Co-authored-by: Kevin L. Keys <[email protected]> Co-authored-by: Maxime U Garcia <[email protected]>
* Bump taxpasta version * Update modules/nf-core/taxpasta/merge/main.nf Co-authored-by: Moritz E. Beber <[email protected]> * Update modules/nf-core/taxpasta/standardise/main.nf Co-authored-by: Moritz E. Beber <[email protected]> * Update modules/nf-core/taxpasta/merge/main.nf Co-authored-by: Moritz E. Beber <[email protected]> --------- Co-authored-by: Moritz E. Beber <[email protected]>
…into fastq_screen
|
I've ported the tests over to nf-test. Of which the .txt and .png files are stable, the .html isn't. But I can't manage to get it to snapshot properly without some kind of error. |
adamrtalbot
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.
For the variable *.txt, *.png and *.html files, capture them as separate outputs then it will be easier to separate them in the process.
e.g. in the output block:
tuple val(meta), path("*.txt"), emit: txt
tuple val(meta), path("*.png"), emit: png
tuple val(meta), path("*.html"), emit: html
in the nf-test:
assert snapshot(process.out.txt, process.out.png).match()
|
Grrr, the other two files have consistent md5sums on conda and singularity, but they are different to docker... |
That's very unusual, I would expect Singularity and Docker to be the same. Might have to accept whatever testing is possible here (process success and file exists), plus any easy file contents checking that makes sense. |
Yes, I just swapped to file existance. |
adamrtalbot
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.
It all looks good, but there's something up with the indentation and perhaps a few styling choices, but the code itself is fine.
| process { | ||
| """ | ||
| input[0] = Channel.from([ | ||
| [[id: "sarscov2"], file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)], | ||
| [[id: "human"] , file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)] | ||
| ]) | ||
| """ |
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.
The indentation seems a bit weird here?
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.
To be honest, I don't know how we are supposed to ident things like this
| input[0] = [[ id:'test', single_end:true ], | ||
| [file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ] | ||
| ] |
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.
Definitely something funky with the indentation.
Co-authored-by: Adam Talbot <[email protected]>
Co-authored-by: Adam Talbot <[email protected]>
PR checklist
Closes #3156
Closes #3157
versions.ymlfile.labelPROFILE=docker pytest --tag <MODULE> --symlink --keep-workflow-wd --git-awarePROFILE=singularity pytest --tag <MODULE> --symlink --keep-workflow-wd --git-awarePROFILE=conda pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware