private void determineHG(string phylotree, string fluctrates) { HaploSearch haploSearch = new HaploSearch(h1); foreach (TestSample currentSample in session.CurrentSampleFile.TestSamples) { IList<ClusteredSearchResult> result = null; result = haploSearch.search(currentSample); haploSearch.addRecommendedHaplogroups(result, currentSample); session.setClassificationResults(currentSample.SampleID, result); } }
private void determineHG() { HaploSearchManager h1 = new HaploSearchManager(); //PhylotreeInstance.Instance.getPhylotree(phylotree, fluctrates); HaploSearch haploSearch = new HaploSearch(h1); foreach (TestSample currentSample in session.CurrentSampleFile.TestSamples) { IList <ClusteredSearchResult> result = null; result = haploSearch.search(currentSample); haploSearch.addRecommendedHaplogroups(result, currentSample); session.setClassificationResults(currentSample.SampleID, result); } }