hartwigmedical / hmftools

Various algorithms for analysing genomics data
GNU General Public License v3.0
179 stars 56 forks source link

ACTIN-570: Handle CL of germline->somatic converted variants in ORANGE #513

Closed kzuberihmf closed 4 months ago

kzuberihmf commented 5 months ago

Small change, clonal likelihood adjustment applied in GermlineConversion.toSomaticVariants(). Since PurpleVariant represents subclonaLikelihood, the conversion works like:

germline VCN > 0.5 -> somatic subclonalLikelihood = 0.0 germline VCN <= 0.5 -> somatic subcloncalLikelihood = 1.0

Orange VarientEntry represents clonalLikelhood directly and converts as (1-subclonal) in VariantEntryFactory, which I'm leaving unchanged.

This branch includes the cuppav2 change, so regression testing will wait a bit.