def oases_optimiser(starthash, endhash, input, job_dir):
    for i in xrange(starthash, endhash, 2):
        cmd1="velveth {0}/outputFolder_{1} {1} {2} && ".format(job_dir, i, input)
        cmd2="velvetg {0}/outputFolder_{1} -read_trkg yes && ".format(job_dir, i)
        cmd3="oases {0}/outputFolder_{1}".format(job_dir, i)
        proc = subprocess.call( args=cmd1+cmd2+cmd3, shell=True, stdout=sys.stdout, stderr=sys.stderr )
    cmd4="velveth {0}/MergedAssemblyFolder 27 -long outputFolder_*/transcripts.fa && ".format(job_dir)
    cmd5="velvetg {0}/MergedAssemblyFolder -read_trkg yes -conserveLong yes && ".format(job_dir)
    cmd6="oases {0}/MergedAssemblyFolder -merge yes".format(job_dir)
    proc = subprocess.call( args=cmd4+cmd5+cmd6, shell=True, stdout=sys.stdout, stderr=sys.stderr )
Extract a list of tupled scripture references from a block of text
dataset/ETHPy150Open ARTbio/tools-artbio/tools/msp_oases/oases_optimiser.py/oases_optimiser--crossover with--dataset/ETHPy150Open davisd/python-scriptures/scriptures/references.py/extract