scripts/support/genome_restore_launcher.py
def bsub_redownload_genome_from_gca_report(updir, gca_report_file):
    """
    Launch the genome downloads on LSF

    :return:
    """

    cmd = "bsub -M 6000 -R \"rusage[mem=6000]\" -o %s -e %s python %s %s %s"

    bsub_cmd = cmd % (os.path.join(updir, 'restore.out'),
                      os.path.join(updir, 'restore.err'),
                      os.path.join(os.getcwd(), "restore_genome.py"),
                      updir, gca_report_file)

    subprocess.call(bsub_cmd, shell=True)
    #print bsub_cmd

    Launch the genome downloads on LSF

    :return:
    
Launch the genome downloads on LSF
Launch the genome downloads on LSF
def bsub_redownload_genome_from_gca_report(updir, gca_report_file):
    cmd = "bsub -M 6000 -R \"rusage[mem=6000]\" -o %s -e %s python %s %s %s"
    bsub_cmd = cmd % (os.path.join(updir, 'restore.out'),
                      os.path.join(updir, 'restore.err'),
                      os.path.join(os.getcwd(), "restore_genome.py"),
                      updir, gca_report_file)
    subprocess.call(bsub_cmd, shell=True)
def bsub_redownload_genome_from_gca_report ( updir , gca_report_file ) : cmd = "bsub -M 6000 -R \"rusage[mem=6000]\" -o %s -e %s python %s %s %s" bsub_cmd = cmd % ( os . path . join ( updir , 'restore.out' ) , os . path . join ( updir , 'restore.err' ) , os . path . join ( os . getcwd ( ) , "restore_genome.py" ) , updir , gca_report_file ) subprocess . call ( bsub_cmd , shell = True )
Launch the genome downloads on LSF
Launch the genome downloads on LSF
"""
    Launch the genome downloads on LSF

    :return:
    """ #print bsub_cmd
None
updir
gca_report_file