Samples from binomial distribution N variants with different depths and fixed mismatch rate for one simulation. Return 1 if the simulation exceeds observed alt allele reads or 0 otherwise
simulator(depths, rate, alt_reads, seed)
a vector with the depths of the variants
A list containing mismatch rates as produced by get_background_rate function
the observed variant allele reads
the random seed
a scalar. Either 1 if the simulation exceeds observed variant alleles or 0 otherwise