private void SetSaFields(SupplementaryPositionCreator saCreator, string newAltAllele) { var annotation = new ExacAnnotation { ExacCoverage = Coverage, ExacAllAn = AllAlleleNumber, ExacAfrAn = AfrAlleleNumber, ExacAmrAn = AmrAlleleNumber, ExacEasAn = EasAlleleNumber, ExacFinAn = FinAlleleNumber, ExacNfeAn = NfeAlleleNumber, ExacOthAn = OthAlleleNumber, ExacSasAn = SasAlleleNumber, ExacAllAc = AllAlleleCount, ExacAfrAc = AfrAlleleCount, ExacAmrAc = AmrAlleleCount, ExacEasAc = EasAlleleCount, ExacFinAc = FinAlleleCount, ExacNfeAc = NfeAlleleCount, ExacOthAc = OthAlleleCount, ExacSasAc = SasAlleleCount }; saCreator.AddExternalDataToAsa(DataSourceCommon.DataSource.Exac, newAltAllele, annotation); }
private void SetSaFields(SupplementaryPositionCreator saCreator, string newAltAllele) { var annotation = new EvsAnnotation { EvsAll = AllFreq, EvsAfr = AfrFreq, EvsEur = EurFreq, EvsCoverage = Coverage, NumEvsSamples = NumSamples }; saCreator.AddExternalDataToAsa(DataSourceCommon.DataSource.Evs, newAltAllele, annotation); }
private void SetSaFields(SupplementaryPositionCreator saCreator, string newAltAllele) { if (!RefAlleleFreq.Equals(double.MinValue)) { saCreator.RefAllele = ReferenceAllele; saCreator.RefAlleleFreq = RefAlleleFreq; } //var sa = saCreator.SaPosition; //set asa field var annotation = new DbSnpAnnotation { DbSnp = new List <long> { RsId }, AltAlleleFreq = AltAlleleFreq }; saCreator.AddExternalDataToAsa(DataSourceCommon.DataSource.DbSnp, newAltAllele, annotation); }
private void SetSaFields(SupplementaryPositionCreator saCreator, string altAllele) { var annotation = new OneKGenAnnotation { AncestralAllele = AncestralAllele, OneKgAllAn = AllAlleleNumber, OneKgAfrAn = AfrAlleleNumber, OneKgAmrAn = AmrAlleleNumber, OneKgEurAn = EurAlleleNumber, OneKgEasAn = EasAlleleNumber, OneKgSasAn = SasAlleleNumber, OneKgAllAc = AllAlleleCount, OneKgAfrAc = AfrAlleleCount, OneKgAmrAc = AmrAlleleCount, OneKgEurAc = EurAlleleCount, OneKgEasAc = EasAlleleCount, OneKgSasAc = SasAlleleCount }; saCreator.AddExternalDataToAsa(DataSourceCommon.DataSource.OneKg, altAllele, annotation); }