MACS3.Commands.filterdup_cmd module

Description: Filter duplicate reads depending on sequencing depth.

This code is free software; you can redistribute it and/or modify it under the terms of the BSD License (see the file LICENSE included with the distribution).

MACS3.Commands.filterdup_cmd.cal_max_dup_tags(genome_size, tags_number, p=1e-05)

Calculate the maximum duplicated tag number based on genome size, total tag number and a p-value based on binomial distribution. Brute force algorithm to calculate reverse CDF no more than MAX_LAMBDA(100000).

MACS3.Commands.filterdup_cmd.load_frag_files_options(options)

From the options, load treatment fragments and control fragments (if available).

MACS3.Commands.filterdup_cmd.load_tag_files_options(options)

From the options, load alignment tags.

MACS3.Commands.filterdup_cmd.run(o_options)

The Main function/pipeline for duplication filter.