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 tests to verify sequence dictionary MD5s respect dos line endings. #1884

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

cmnbroad
Copy link
Contributor

Add tests to verify the issue reported in #1814. But, neither I nor Chris K. can reproduce the issue - it looks like we correctly respect dos line endings, and are concordant with samtools either way. Since I've already done the work, we might well add these tests.

Copy link
Member

@lbergelson lbergelson left a comment

Choose a reason for hiding this comment

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

@cmnbroad This seems convincing to me. Thanks for investigating.

// Test that dictionary MD5s are invariant across dos/unix line endings
@Test
public void testSequenceMD5sRespectLineEndings() throws IOException {
// NOTE: the .fasta test files here that use windows cr/lf line endings have to be listed in
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for this note.

@cmnbroad cmnbroad marked this pull request as ready for review June 12, 2023 12:30
@tmelman tmelman linked an issue Jun 13, 2023 that may be closed by this pull request
2 tasks
@tmelman tmelman merged commit 433494b into master Jun 13, 2023
@tmelman tmelman deleted the cn_dict_md5 branch June 13, 2023 17:11
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.

MD5SUM from picard and samtools do not match
3 participants