Closed jzhang-dev closed 3 years ago
Sorry for the long delay in replying to your request. It is not difficult to add this as a command line parameter. However, adding code for using the prior probabilities of the genotypes will require some more coding and testing. Would you be interested in contributing the change via a pull request? Thanks.
Thanks. I think I may be able to contribute by adding a command line parameter for HOMOZYGOUS_PRIOR
later, while the second funtionality is probably beyond my capacity of C programming at the moment. Meanwhile, I realized that the core HapCUT2 algorithm implicitly relies upon the all-heterozygous assumption. Therefore, I think it is presumably best to remove variants that are most likely to be homozygous before running HapCUT2, if such information is available a priori.
Hi,
The default value for
HOMOZYGOUS_PRIOR
, as defined inoptionparser.c
, is -80 (log scale). As a result, the minimum coverage depth required for a variant to be called homozygous is nearly 100, which feels to stringent for typical use cases. Would it be possible to adjustHOMOZYGOUS_PRIOR
to a higher value, or add a command line parameter forHOMOZYGOUS_PRIOR
?I also found this in the Supplemental Methods of (Edge et al., 2017):
However, I failed to find relevant parameters in the documentation. It would be very useful if this could be supported in HapCUT2.
Thanks and best wishes,
Jia-Yuan Zhang