-
Notifications
You must be signed in to change notification settings - Fork 1
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
Refactor FILTER_QUERY to Handle Query Sample IDs via File Input for csvtk #24
Conversation
|
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.
Looks good to me.
Looks good! Hadn't really looked into the documentation of csvtk before (except that one time I used it in staramr). Looks handy! Good to keep in mind instead of doing everything in bash code blocks! |
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 great work @kylacochrane . I'm glad it was such a small change too 😄
The
FILTER_QUERY
module has been refactored to improve how query sample IDs are handled. Instead of passing sample IDs as individual strings tocsvtk filter2
, the IDs are now written to a single file (.collectFile
) in the workflow and passed directly intocsvtk grep
.This change prevents errors caused by overly long command-line strings and simplifies the process of handling large numbers of query samples efficiently.
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).CHANGELOG.md
is updated.