Scripts/Start_job.py
def write_bedfile(chromosome):
    """ The write_bedfile function runs the Flag_placer.py script for the given chromosome with the given arguments.

    :param chromosome: Int or Str specifying the chromosome.
    """
    if not os.path.exists(f"{args.output}/{args.name}_{chromosome}.bed"):
        os.system(f'python3 Flag_placer.py -b "{args.bam}"'
                  f' -o "{args.output}"'
                  f' -r "chr{chromosome}"'
                  f' -t {args.threshold}'
                  f' -mp {args.minpercentage}'
                  f' -n "{args.name}_{chromosome}"')
 The write_bedfile function runs the Flag_placer.py script for the given chromosome with the given arguments.

    :param chromosome: Int or Str specifying the chromosome.
    
The write_bedfile function runs the Flag_placer.py script for the given chromosome with the given arguments.
The write_bedfile function runs the Flag_placer . py script for the given chromosome with the given arguments .
def write_bedfile(chromosome):
    if not os.path.exists(f"{args.output}/{args.name}_{chromosome}.bed"):
        os.system(f'python3 Flag_placer.py -b "{args.bam}"'
                  f' -o "{args.output}"'
                  f' -r "chr{chromosome}"'
                  f' -t {args.threshold}'
                  f' -mp {args.minpercentage}'
                  f' -n "{args.name}_{chromosome}"')
def write_bedfile ( chromosome ) : if not os . path . exists ( f"{args.output}/{args.name}_{chromosome}.bed" ) : os . system ( f'python3 Flag_placer.py -b "{args.bam}"' f' -o "{args.output}"' f' -r "chr{chromosome}"' f' -t {args.threshold}' f' -mp {args.minpercentage}' f' -n "{args.name}_{chromosome}"' )
The write_bedfile function runs the Flag_placer.py script for the given chromosome with the given arguments.
The write_bedfile function runs the Flag_placer . py script for the given chromosome with the given arguments .
""" The write_bedfile function runs the Flag_placer.py script for the given chromosome with the given arguments.

    :param chromosome: Int or Str specifying the chromosome.
    """
chromosome
Int or Str specifying the chromosome.
Int or Str specifying the chromosome .