public void AddVariantData(VariantFeature variant) { foreach (var altAllele in variant.AlternateAlleles) { var pianoAllele = new PianoAllele(altAllele); PianoAlleles.Add(pianoAllele); } }
private void FindCorrespondingJsonVariant(VariantAlternateAllele altAllele) { _currPianoAllele = null; foreach (var pianoAllele in PianoAlleles) { if (pianoAllele.ReferenceBegin != altAllele.Start) { continue; } if (pianoAllele.SaAltAllele != altAllele.SuppAltAllele) { continue; } _currPianoAllele = pianoAllele; } }