Scripts/Start_job.py
def bedfile_handle(chromosomes, extension):
    """ The bedfile_handle function divides the chromosomes over the number of cores to multiprocess the Flag_placer.py
    script.

    :param chromosomes: A list of all chromosomes.
    :param extension: A string identifying the script that should be called.
    """
    if extension == 'flags':
        with Pool(args.cores) as p:
            p.map(write_bedfile, chromosomes)

    else:
        with Pool(args.cores) as p:
            p.map(write_bedgraphfile, chromosomes)
 The bedfile_handle function divides the chromosomes over the number of cores to multiprocess the Flag_placer.py
    script.

    :param chromosomes: A list of all chromosomes.
    :param extension: A string identifying the script that should be called.
    
The bedfile_handle function divides the chromosomes over the number of cores to multiprocess the Flag_placer.py
script.
The bedfile_handle function divides the chromosomes over the number of cores to multiprocess the Flag_placer . py script .
def bedfile_handle(chromosomes, extension):
    if extension == 'flags':
        with Pool(args.cores) as p:
            p.map(write_bedfile, chromosomes)
    else:
        with Pool(args.cores) as p:
            p.map(write_bedgraphfile, chromosomes)
def bedfile_handle ( chromosomes , extension ) : if extension == 'flags' : with Pool ( args . cores ) as p : p . map ( write_bedfile , chromosomes ) else : with Pool ( args . cores ) as p : p . map ( write_bedgraphfile , chromosomes )
The bedfile_handle function divides the chromosomes over the number of cores to multiprocess the Flag_placer.py
script.
The bedfile_handle function divides the chromosomes over the number of cores to multiprocess the Flag_placer . py script .
""" The bedfile_handle function divides the chromosomes over the number of cores to multiprocess the Flag_placer.py
    script.

    :param chromosomes: A list of all chromosomes.
    :param extension: A string identifying the script that should be called.
    """
chromosomes
A list of all chromosomes.
A list of all chromosomes .
extension
A string identifying the script that should be called.
A string identifying the script that should be called .