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: explicitly specify bwa index in bwa wrappers #232
feat: explicitly specify bwa index in bwa wrappers #232
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.
I really like the new behaviour and the backwards compatibility. I have some suggestions to update the example rules in the Snakefile
s accordingly. But I also just realised, that PR #186 also addresses this. Could you double check whether you can contribute anything to the review over there? And if that PR addresses everything you're looking for, maybe close this PR here?
The changes regarding wrapper code rendering should be fine, as they are already in master in exactly the same way. No clue, why they get highlighted again.
elif "index" in snakemake.input.keys(): | ||
index = path.splitext(snakemake.input["index"])[0] |
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 guess this is intended as the standard future use, right? I would then update the example rule in the Snakefile to contain an input: index="someindex.some_index_extension"
accordingly.
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.
Actually the input should list all index files, by making use of the multiext helper.
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.
You are right, miltiext is now displayed in the snakefiles.
…akemake-wrappers into bwa_index_auto_prefix
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, now. I'll have a look why the tests are failing.
test logs are not available any more
…dled automatically by snakemake
Hi,
This is an implementation of enhancement request #228
Many thanks in advance for your reviews
PS: I'm still having this Template merge from PR #187 . I shall not have merged it to my master branch