AdamaJava / adamajava

Other
14 stars 4 forks source link

feat(qannotate confidence mode): allow the user to specify the homopolymer cutoff #347

Closed holmeso closed 6 months ago

holmeso commented 6 months ago

Description

qannotate's ConfidenceMode was using a hard-coded value to determine if the HOM annotation should be applied to the filter field. This PR allows the user to specify the homopolymer cutoff (via the homCutoff option), with the default value being the same as the previous hard-coded value. This should mean that if you run the code as you would normally, then you will get identical results as before. If you run with the homCutoff value set to something other than the default, you will get different results.

Some formatting has also been performed, and removal of user specific details from qannotate's build.gradle file.

Type of change

How Has This Been Tested?

Unit tests pass. Code has been run against vcf file, and results verified.

Are WDL Updates Required?

No, assuming that the current defaults are acceptable, yes otherwise

Checklist: