Beispiel #1
0
 def test_normalize_reports_tsv(self):
     file_reports = aggregate_reports.normalize_reports(
         self.tsv_test_file, self.columns)
     first_report = file_reports[0]
     self.assertEqual(len(file_reports), 2)
     self.assertEqual(first_report[aggregate_reports.COLUMN_SOURCE],
                      'ENIGMA')
Beispiel #2
0
 def test_normalize_reports_vcf(self):
     file_reports = aggregate_reports.normalize_reports(
         self.vcf_test_file, self.columns)
     first_report = file_reports[0]
     self.assertEqual(len(file_reports), 2)
     self.assertEqual(first_report[aggregate_reports.COLUMN_SOURCE],
                      '1000_Genomes')
 def test_normalize_reports_tsv(self):
     file_reports = aggregate_reports.normalize_reports(self.tsv_test_file, self.columns)
     first_report = file_reports[0]
     self.assertEqual(len(file_reports), 2)
     self.assertEqual(first_report[aggregate_reports.COLUMN_SOURCE], 'ENIGMA')
 def test_normalize_reports_vcf(self):
     file_reports = aggregate_reports.normalize_reports(self.vcf_test_file, self.columns)
     first_report = file_reports[0]
     self.assertEqual(len(file_reports), 2)
     self.assertEqual(first_report[aggregate_reports.COLUMN_SOURCE], '1000_Genomes')