def run(self):
# run original build code
build.run(self)
# build samtools
build_path = os.path.abspath(self.build_temp)
cmd = ['make', '-C', 'external/samtools']
def compile():
subprocess.check_call(cmd)
self.execute(compile, [], 'Compile samtools')
def compile_htslib():
subprocess.check_call(['./configure'], cwd='external/samtools/htslib-1.2.1')
subprocess.check_call(['make'], cwd='external/samtools/htslib-1.2.1')
self.execute(compile_htslib, [], 'Compile htslib')
评论列表
文章目录