public static string ToVcfId(this CnvType cnvType)
{
switch (cnvType)
{
case CnvType.Gain:
return "GAIN";
case CnvType.Loss:
return "LOSS";
case CnvType.Reference:
return "REF";
case CnvType.LossOfHeterozygosity:
return "LOH";
default:
throw new ApplicationException($"Unsupported CNV type: {cnvType}");
}
}