예제 #1
0
def main(args):
    cfg = load_mirquant_config_file(args.conf)
    scfg = load_sys_config_file(args.conf)
    job = build_job(scfg['job'])
    sample_res = return_sample_results_directories(cfg['paths']['project'])
    temp_fi = []
    for sample in sample_res:
        temp_fi = combine_result_files(sample, cfg, job, temp_fi, args.conf)
    wait_for_collect_res(temp_fi, sample_res, job)
예제 #2
0
def main(args):
    check_config_path(args.conf)
    cfg = load_mirquant_config_file(args.conf)
    scfg = load_sys_config_file(args.conf)
    job = build_job(scfg['job'])
    fastqs = get_fastqs(cfg['paths']['project'])
    for sample in fastqs:
        print 'Running for sample: {}'.format(sample)
        os.system('{} python ./bin/chainSubmission.py {} {}'.format(job, args.conf, sample))
예제 #3
0
파일: runC.py 프로젝트: maohuaxie/miRquant
def main(args):
    cfg = load_mirquant_config_file(args.conf)
    scfg = load_sys_config_file(args.conf)
    job = build_job(scfg['job'])
    sample_res = return_sample_results_directories(cfg['paths']['project'])
    temp_fi = []
    for sample in sample_res:
        print '\nRunning runC on sample {}'.format(sample)
        temp_fi = combine_result_files(sample, cfg, job, temp_fi, args.conf)
    wait_for_collect_res(temp_fi, sample_res, job)