Esempio n. 1
0
 def test_1_build_ref(self):
     """ Build bloom filters out of the reference genomes directory.
     """
     for ref in os.listdir(self.reference):
         org = os.path.join(self.reference, ref, "seq", ref+".fa")
         bf = os.path.join(self.bloom_dir, os.path.splitext(ref)[0]+".bloom")
         print(org, bf)
         if not os.path.exists(bf):
             facs.build(org, bf)
Esempio n. 2
0
    def test_1_build_ref(self):
        """ Build bloom filters out of the reference genomes directory.
        """
        for ref in os.listdir(self.reference):
            facs.build(os.path.join(self.reference, ref),
		os.path.join(self.bloom_dir, os.path.splitext(ref)[0]+".bloom"))