<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run_muse_sump_perchrom(job, muse_output, univ_options, muse_options, chrom):
 """ Run MuSE sump on the MuSE call generated vcf. :param toil.fileStore.FileID muse_output: vcf generated by MuSE call :param dict univ_options: Dict of universal options used by almost all tools :param dict muse_options: Options specific to MuSE :param str chrom: Chromosome to process :return: fsID for the chromsome vcf :rtype: toil.fileStore.FileID """

    work_dir = os.getcwd()
    input_files = {
        'MuSE.txt': muse_output,
        'dbsnp_coding.vcf.gz': muse_options['dbsnp_vcf'],
        'dbsnp_coding.vcf.gz.tbi.tmp': muse_options['dbsnp_tbi']}
    input_files = get_files_from_filestore(job, input_files, work_dir, docker=False)
    tbi = os.path.splitext(input_files['dbsnp_coding.vcf.gz.tbi.tmp'])[0]
    time.sleep(2)
    shutil.copy(input_files['dbsnp_coding.vcf.gz.tbi.tmp'], tbi)
    os.chmod(tbi, 0777)
    open(tbi, 'a').close()
    input_files = {key: docker_path(path) for key, path in input_files.items()}
    output_file = ''.join([work_dir, '/', chrom, '.vcf'])

    parameters = ['sump',
                  '-I', input_files['MuSE.txt'],
                  '-O', docker_path(output_file),
                  '-D', input_files['dbsnp_coding.vcf.gz'],
                  '-E']

    docker_call(tool='muse', tool_parameters=parameters, work_dir=work_dir,
                dockerhub=univ_options['dockerhub'], tool_version=muse_options['version'])
    outfile = job.fileStore.writeGlobalFile(output_file)
    export_results(job, outfile, output_file, univ_options, subfolder='mutations/muse')
    job.fileStore.logToMaster('Ran MuSE sump on %s:%s successfully'
                              % (univ_options['patient'], chrom))
    return outfile