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

add support for picard-style .bam/.bai indexes #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ekg
Copy link

@ekg ekg commented Dec 4, 2014

Picard (and by its virtue, GATK), use .bam/.bai indexes.

This adds a check for file existence to the index open, so that we can check if we're working with standard .bam.bai or .bai indexes.

Picard and GATK generate .bam/.bai rather than .bam/.bam.bai index names.

This commit adds functionality which checks if .bam.bai exists, and if not
falls back .bai (or .bam.bti).
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

1 participant