Esempio n. 1
0
 def setUp(self):
     self.db_fa = _get_data_dir()('db.faa')
     self.db = _get_data_dir()('db.dmnd')
     self.temp_dir = mkdtemp()
     self.neg_fp = map(
         get_data_path,
         ['empty', 'whitespace_only'])
Esempio n. 2
0
 def setUp(self):
     super().setUp()
     tests = [('blastp', 'WP_009885814.faa'),
              ('blastx', 'WP_009885814.fna')]
     self.blast = [
         (i[0],
          get_data_path(i[1]),
          _get_data_dir()('%s.diamond' % i[1]))
         for i in tests]
Esempio n. 3
0
 def setUp(self):
     self.obs_db_fp = mktemp()
     self.exp_db_fp = _get_data_dir()('tigrfam.db')
     self.d = dirname(self.exp_db_fp)