public static string ToAltId(this CnvType cnvType)
{
switch (cnvType)
{
case CnvType.Gain:
case CnvType.Loss:
case CnvType.LossOfHeterozygosity:
return "<CNV>";
case CnvType.Reference:
return ".";
default:
throw new ApplicationException($"ALT is unsupported for CNV type: {cnvType}");
}
}
}