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

SAMTextWriter.setSortOrder is not called before SAMTextWriter.setHeader in SAMRecordWriter #21

Closed
ryan-williams opened this issue Aug 24, 2015 · 0 comments · Fixed by #22

Comments

@ryan-williams
Copy link
Contributor

SAMTextWriter.setSortOrder is not called before SAMTextWriter.setHeader in SAMRecordWriter.init, despite this comment stating that it must (link is from htsjdk 1.118, but this API and comment still exist in htsjdk 1.138).

I noticed this because all .sam output files in ADAM have @HD lines with a SO:unsorted tag, even if we set a coordinate sort on the SAMFileHeader before writing.

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 a pull request may close this issue.

1 participant