def mp_coverage_process(sampleName,sampleMap,snpsDict,sortedSnps): print sampleName sys.stdout.flush() covrFile = sampleMap[sampleName] cinst = Coverage(snpsDict,sortedSnps,covrFile) return sampleName, cinst.main()
def coverage_process(sampleName,samples,snpsDict): print sampleName #samples = self.maps #snpsDict = self.snps covrFile = samples[sampleName] cinst = Coverage(snpsDict,covrFile) return sampleName, cinst.main()
def coverage_process(self,coverageFile,snpsDict): cinst = Coverage(snpsDict,coverageFile) return cinst.main()