-
Notifications
You must be signed in to change notification settings - Fork 369
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
Adds support for reading CSI indexes. #998
Conversation
retest this please |
@gbggrant if you are referring to the failed Travis build, the symbol SamReader.Type.BAM_CSI_TYPE is defined in the htsjdk PR 1040, which is still under review. So, I am assuming we'll need to wait for that PR to be merged in order to rebuild this branch. |
@valeriuo - you can use a htsjdk snapshot from your PR (if I am correct) from the Broad artifactory, which is included in Picard. Like that, you can test that it is working and hold the merge until a released version with your fix is in. |
the dependent PR was merged into master and released in htsjdk 2.19.0, so if you rebase this PR on picard/master the tests should pass. |
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.
needs tests...
1fea0d2
to
fa38dcd
Compare
1 similar comment
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.
@valeriuo looks good, but you are checking in some large files (> 1MB) for tests. Could you please reduce the size of these?
Ideally, we prefer a strategy where simple, documented sam files are checked in, and then the test creates bams on the fly for testing.
If this is not possible, could you try to re-use existing checked in bams and indices for tests?
Hi, |
I will have another look at this. The rebase went smoothly, but it probably needs a few changes, as I see some stuff has been deprecated in the meantime. |
Add unit tests for index files.
fa38dcd
to
b897dbb
Compare
@gbggrant it seems that the PR has been updated in response to your comments would you be able to take another look and move it along? |
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.
Description
Handles the CSI indexes implemented in HTSJDK. More specifically, it uses the new type,
BAM_CSI_TYPE
.Checklist (never delete this)
Never delete this, it is our record that procedure was followed. If you find that for whatever reason one of the checklist points doesn't apply to your PR, you can leave it unchecked but please add an explanation below.
Content
Review
For more detailed guidelines, see https://github.com/broadinstitute/picard/wiki/Guidelines-for-pull-requests