Beispiel #1
0
 def index_pangenome_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.pangenome
     res = iu.pangenome_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
     res = iu.pangenomeorthologyfamily_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('features', res)
Beispiel #2
0
 def index_assembly_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.assemblyobj
     res = iu.assembly_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
     res = iu.assemblycontig_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('features', res)
Beispiel #3
0
 def index_pairedend_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.pairedend
     res = iu.pairedend_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
Beispiel #4
0
 def index_ontologyterm_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.ontology
     res = iu.ontologyterm_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('features', res)
Beispiel #5
0
 def index_narrative_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.narobj
     res = iu.narrative_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
Beispiel #6
0
 def index_rnaseq_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.rnaseqsampleset
     res = iu.rnaseqsampleset_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)