Preprocessing#

Import Pycallingcards as:

import pycallingcards as cc

preprocessing.clean_qbed

Clean qbed with some extra chromosomes.

preprocessing.call_peaks

Call peaks from qbed data.

preprocessing.combine_peaks

Combine two peaks.

preprocessing.separate_peaks

Separate two peaks.

preprocessing.annotation

Annotate the peak data using bedtools [Quinlan and Hall, 2010].

preprocessing.make_Anndata

Make cell(sample) by using peak anndata for calling cards.

preprocessing.filter_peaks

Filter peaks based on the number of cells or counts.

preprocessing.adata_insertions

Calculate sum of peaks per cluster or average peaks per cell in different cluster and give it to anndata object.

preprocessing.down_sample

Down sample insertion data.