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

PrintReadsHeader: a new tool to print a BAM/SAM/CRAM header to a file #6153

Merged
merged 4 commits into from
Oct 24, 2019

Conversation

droazen
Copy link
Contributor

@droazen droazen commented Sep 10, 2019

No description provided.

@droazen
Copy link
Contributor Author

droazen commented Sep 10, 2019

@michaelgatzen Please review

@droazen droazen changed the title PrintHeader: a new tool to print a BAM header to a file PrintBAMHeader: a new tool to print a BAM header to a file Sep 10, 2019
@droazen
Copy link
Contributor Author

droazen commented Sep 10, 2019

Example usage:

/gatk PrintBAMHeader -I gs://hellbender/test/resources/large/CEUTrio.HiSeq.WGS.b37.NA12878.20.21.bam -O header_for_michael.txt

Copy link
Contributor

@michaelgatzen michaelgatzen left a comment

Choose a reason for hiding this comment

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

I added an integration test which just checks one tiny BAM header. I couldn't think of too many "edge cases" there, feel free to let me know if I should implement some more tests!

@droazen droazen changed the title PrintBAMHeader: a new tool to print a BAM header to a file PrintReadsHeader: a new tool to print a BAM/SAM/CRAM header to a file Oct 24, 2019
@droazen
Copy link
Contributor Author

droazen commented Oct 24, 2019

Renamed the tool to PrintReadsHeader, and did some minor cleanup in preparation for merge.

@droazen droazen assigned droazen and unassigned michaelgatzen Oct 24, 2019
@droazen droazen merged commit 34cdadf into master Oct 24, 2019
@droazen droazen deleted the dr_printheader branch October 24, 2019 20:05
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.

2 participants