maize-genetics / phg_v2

Practical Haplotype Graph (PHG) version 2
https://phg.maizegenetics.net/
Apache License 2.0
21 stars 2 forks source link

add graph hash to kmer processing #255

Closed lynnjo closed 1 day ago

lynnjo commented 1 day ago

Description

Added the graph has to the kmerIndex.txt file, along with graph comparison checks to MapKmers.kt

Type of change

What type of changes does your code introduce? Put an x in boxes that apply.

Checklist:

Changelog entry

Please add a one-line changelog entry below. This will be copied to the changelog file during the release process.

Added graph checksum value to kmerIndex.txt file as well as comparison checking of graph to map-kmers
codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 69.56522% with 7 lines in your changes missing coverage. Please review.

Project coverage is 80.29%. Comparing base (79410f9) to head (1c9cf7f). Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
.../net/maizegenetics/phgv2/pathing/AlignmentUtils.kt 65.00% 5 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #255 +/- ## ========================================== - Coverage 80.31% 80.29% -0.02% ========================================== Files 84 84 Lines 5917 5928 +11 Branches 1031 1034 +3 ========================================== + Hits 4752 4760 +8 - Misses 784 785 +1 - Partials 381 383 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: