Skip to content
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: added wrapper for using tabix to query an indexed file #203

Merged
merged 3 commits into from Jan 26, 2022
Merged

feat: added wrapper for using tabix to query an indexed file #203

merged 3 commits into from Jan 26, 2022

Conversation

williamrowell
Copy link
Contributor

The current tabix wrapper can only be used to index a file, but tabix can also be used to query an indexed file, like tabix -h my.vcf.gz chr1 > chr1.vcf.gz or tabix coverage.bed.gz chr20 > chr20.bed.gz. Added this as a separate wrapper.

Copy link
Contributor

@johanneskoester johanneskoester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Please add a test case to test.py.

@williamrowell
Copy link
Contributor Author

I added test cases and reformatted a few of these old PRs, but there are merge conflicts because my test.py files are out of date. I'm not sure of the least complicated way to straighten this out.

@williamrowell
Copy link
Contributor Author

I've updated this and added a test case. It's ready for review.

@johanneskoester johanneskoester changed the title added wrapper for using tabix to query an indexed file feat: added wrapper for using tabix to query an indexed file Jan 26, 2022
@johanneskoester johanneskoester merged commit 2bb9131 into snakemake:master Jan 26, 2022
@williamrowell williamrowell deleted the tabix_query branch January 30, 2022 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants