AdamaJava / adamajava

Other
14 stars 5 forks source link

Qsignature - use cutoffs specified in options #291

Closed holmeso closed 2 years ago

holmeso commented 2 years ago

Description

The Compare class within qsignature needs to make decisions on whether a snp is hom or het. It uses 3 values to determine this:

There are 3 existing options that allow the user to override these defaults, however, the Compare class does not take these into account.

This PR rectifies this oversight, allowing the user to set the cutoffs as they see fit.

A record of the cutoffs used is now added to the xml output so that the viewer can tell what cutoffs were used.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Existing unit tests have been updated and new tests added.

Are WDL Updates Required?

No wdl updates are required. It is anticipated that once this change is in master, an update to the SDFTM wdl workflow will be made to supply cutoff values to qsignature.

Checklist: