stats module

class mavis.bam.stats.BamStats(median_fragment_size, stdev_fragment_size, read_length)[source]

Bases: object

mavis.bam.stats.compute_genome_bam_stats(bam_file_handle, sample_bin_size, sample_size, log=<function <lambda>>, MIN_MAPPING_QUALITY=1, sample_cap=10000, distribution_fraction=0.99, **kwargs)[source]
mavis.bam.stats.compute_transcriptome_bam_stats(bam_file_handle, annotations, sample_size, log=<function <lambda>>, best_transcripts_only=False, MIN_MAPPING_QUALITY=1, stranded=True, sample_cap=10000, distribution_fraction=0.99, **kwargs)[source]
mavis.bam.stats.histogram_distrib_stderr(hist, median, fraction, error_function=<function <lambda>>)[source]
mavis.bam.stats.histogram_median(hist)[source]
mavis.bam.stats.sum_histograms(hist)[source]