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
feat: BWA mem2 index - remove prefix parameter and determine prefix from output #515
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.
LGTM!
Wouldn't it be cleaner to infer the prefix with Btw, since you are fixing the |
Like mentioned on issue #494, maybe we can define a function to infer the prefixes and add it to
|
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.
Nice work, some suggestions below. In general, I like the idea of @fgvieira to move the suffix handling code into snakemake-wrapper-utils, but to get things going I am fine with committing it here for now and moving it there later.
Co-authored-by: Johannes Köster <johannes.koester@uni-due.de> Co-authored-by: Filipe G. Vieira <fgarrettvieira@gmail.com>
Description
Remove the param prefix and detect prefix by output
QC
For all wrappers added by this PR, I made sure that
input:
andoutput:
file paths in the resulting rule can be changed arbitrarily,threads: x
statement withx
being a reasonable default,map_reads
for a step that maps reads),environment.yaml
specifications follow the respective best practices,input:
oroutput:
),Snakefile
s and their entries are explained via comments (input:
/output:
/params:
etc.),stderr
and/orstdout
are logged correctly (log:
), depending on the wrapped tool,tempfile.gettempdir()
points to (see here; this also means that using any Pythontempfile
default behavior works),meta.yaml
contains a link to the documentation of the respective tool or command,Snakefile
s pass the linting (snakemake --lint
),Snakefile
s are formatted with snakefmt,