public static bool AcceptableAlleleBases(string bases, bool allowNsAsAcceptable) { return(AcceptableAlleleBases(VCFUtils.StringToBytes(bases), allowNsAsAcceptable)); }
/// <seealso cref= Allele(byte[], boolean) /// </seealso> /// <param name="bases"> bases representing an allele </param> /// <param name="isRef"> is this the reference allele? </param> public static Allele Create(string bases, bool isRef) { return(Create(VCFUtils.StringToBytes(bases), isRef)); }
/// <param name="bases"> bases representing an allele </param> /// <returns> true if the bases represent the well formatted allele </returns> public static bool AcceptableAlleleBases(string bases) { return(AcceptableAlleleBases(VCFUtils.StringToBytes(bases), true)); }