Пример #1
0
 public void AddVariantData(VariantFeature variant)
 {
     foreach (var altAllele in variant.AlternateAlleles)
     {
         var pianoAllele = new PianoAllele(altAllele);
         PianoAlleles.Add(pianoAllele);
     }
 }
Пример #2
0
        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;
            }
        }