-
Notifications
You must be signed in to change notification settings - Fork 36
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
skip over empty fastqs after demultiplex #165
skip over empty fastqs after demultiplex #165
Conversation
Dev -> Master for 1.3.1 patch release
Dev -> Master for 1.3.2 release
Release candidate 1.4.0
This PR is against the
|
|
process WriteInvalidFastqPaths { | ||
output: | ||
file("invalid_fastqs.txt") into ch_failed_fastqs_file | ||
|
||
publishDir "${params.outdir}", mode: 'copy' | ||
|
||
script: | ||
""" | ||
cat ${invalid_fastqs_ch.collect().join('\n')} > invalid_fastqs.txt | ||
""" | ||
} |
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 think we can do that outside a process with a collectFile operator
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.
Agreed, that's one way to do it, but I think it can just be native Nextflow.
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.
Thanks for the review guys! Very good point, I will switch to collectFile and test again.
I will work on this more, I still need to do more tests. I'm considering making that behaviour for skipping emtpy fastqs optional. Should I close the pull request or can I leave it as a draft? Thanks for the reviews. |
I'd leave it as draft, so that everybody can see what the status is with this issue and maybe not start something else from scratch. |
…s and exceptions"
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).