internal static IWittyerGenotypedSample Create([NotNull] WittyerSampleInternal sample, [NotNull] IGenotypeInfo gt) => new WittyerGenotypedSample(sample, gt);
private WittyerGenotypedSample(WittyerSampleInternal baseSample, IGenotypeInfo gt) { BaseSample = baseSample; Gt = gt; }
private WittyerGenotypedCopyNumberSample(WittyerCopyNumberSample sample, IGenotypeInfo gt) { BaseSample = sample; Gt = gt; }
internal static WittyerGenotypedCopyNumberSample Create([NotNull] WittyerCopyNumberSample sample, [NotNull] IGenotypeInfo gt) => new WittyerGenotypedCopyNumberSample(sample, gt);
/// <inheritdoc /> public bool Equals([NotNull] IGenotypeInfo other) => IsPhased.Equals(other.IsPhased) && (IsPhased ? GenotypeIndices.SequenceEqual(other.GenotypeIndices) : GenotypeIndices.IsScrambledEquals(other.GenotypeIndices));