public static string ToSvType(this CnvType cnvType)
{
switch (cnvType)
{
case CnvType.Gain:
case CnvType.Loss:
return "CNV";
case CnvType.LossOfHeterozygosity:
return "LOH";
default:
throw new ApplicationException($"SVTYPE field is unsupported for CNV type: {cnvType}");
}
}