def indexFile(options):
sys.stdout.write('Compressing output file... ')
sys.stdout.flush()
pysam.tabix_compress(options.output, options.output + '.gz', force=True)
sys.stdout.write('OK\n')
sys.stdout.write('Indexing output file... ')
sys.stdout.flush()
pysam.tabix_index(options.output + '.gz', seq_col=4, start_col=6, end_col=7, meta_char='#', force=True)
sys.stdout.write('OK\n')
# CHeck if string is a number (integer)
评论列表
文章目录