Skip to content

Pair-HMM alignment algorithm description fix - #5528

Merged
droazen merged 3 commits into
broadinstitute:masterfrom
rick-heig:master
Jan 16, 2019
Merged

droazen merged 3 commits into
broadinstitute:masterfrom
rick-heig:master

Conversation

@rick-heig

Copy link
Copy Markdown
Contributor

Hello.
I believe there is an error in the description of the algorithm in the pairHMM alignment stage.

It states that it does local alignment, however the code implements a global alignment.
Therefore I fixed the comments and added the correct reference to Durbin's book. (The figure referenced is not the Finite State Machine implemented).

This was discussed on the GATK forum before I made the pull request.
See discussion here : Discussion Thread

I believe this is important, because the difference between the two FSMs is as important as the difference between running the Needleman–Wunsch and Smith-Waterman algorithm (global vs local).

Regards.
Rick

@sooheelee

Copy link
Copy Markdown
Contributor

Hi @rick-heig. You are one step ahead. I just submitted a similar request at #5529.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #5528 into master will decrease coverage by 0.208%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##              master     #5528       +/-   ##
===============================================
- Coverage     87.072%   86.865%   -0.208%     
+ Complexity     31319     31232       -87     
===============================================
  Files           1921      1921               
  Lines         144564    144564               
  Branches       15949     15949               
===============================================
- Hits          125875    125575      -300     
- Misses         12898     13229      +331     
+ Partials        5791      5760       -31
Impacted Files Coverage Δ Complexity Δ
...oadinstitute/hellbender/utils/pairhmm/PairHMM.java 77.857% <ø> (ø) 24 <0> (ø) ⬇️
...stitute/hellbender/utils/pairhmm/Log10PairHMM.java 95.652% <ø> (ø) 24 <0> (ø) ⬇️
...hellbender/utils/pairhmm/VectorLoglessPairHMM.java 86.842% <ø> (ø) 12 <0> (ø) ⬇️
...ils/nio/NioFileCopierWithProgressMeterResults.java 0% <0%> (-94.737%) 0% <0%> (-9%)
...s/spark/ParallelCopyGCSDirectoryIntoHDFSSpark.java 0% <0%> (-74.257%) 0% <0%> (-17%)
...nder/tools/spark/pipelines/PrintVariantsSpark.java 0% <0%> (-66.667%) 0% <0%> (-2%)
...ols/funcotator/FuncotatorDataSourceDownloader.java 0% <0%> (-66.197%) 0% <0%> (-14%)
...nder/utils/nio/NioFileCopierWithProgressMeter.java 17% <0%> (-52.5%) 9% <0%> (-30%)
...oadinstitute/hellbender/utils/gcs/BucketUtils.java 57.927% <0%> (-21.951%) 33% <0%> (-9%)
...der/engine/spark/datasources/ReadsSparkSource.java 57.333% <0%> (-4%) 16% <0%> (-1%)
... and 6 more

@davidbenjamin davidbenjamin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good.

@droazen
droazen merged commit 9b3ee90 into broadinstitute:master Jan 16, 2019
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.

5 participants