# Parameters
sample_name = "DC_LPS;4h;A;En"
modisco_root = "/srv/scratch/msharmin/mouse_hem/with_tfd/full_mouse50/Naive_modisco2019"
mitra_subdir = "report/version2"
task_dir = "task_195-naivegw"
database_name = "CISBP"
perf_file = "/srv/scratch/msharmin/mouse_hem/with_tfd/full_mouse50/fineFactorized/task_195-naivegw/NaiveauPRC.txt"
homer_root = "/srv/scratch/msharmin/mouse_hem/with_tfd/full_mouse50/Naive_scans"
from matlas.modisco_report import modisco_report_pipeline, display_metadata
reportfile= "/mnt/lab_data/kundaje/msharmin/mouse_hem/with_tfd/full_mouse50/filtering samples_MS2.xlsx"
sheetname = "filter23"
load data from labcluster
Using TensorFlow backend. 2019-07-23 01:16:06,024 [WARNING] git-lfs not installed
display_metadata(sample_name, perf_file, reportfile, sheetname)
| MetaData Name | Description |
|---|---|
| Cell type | dendritic cell(100 ng/mL Lipopolysaccharide, 4hours) |
| Cell Group | Other Immune Cells |
| Experiment Name | ATAC |
| Experiment Group | ENCODE |
| replicate | Naïve overlap peaks | IDR peaks | TSS enrichment (< 8 is very poor <10 is low) | Final number of unique mapping, dup-filtered, chrM filtered reads | Number of reads in called peak regions | Fraction of reads in called peak regions | Number of reads in promoter regions | Fraction of reads in promoter regions | Number of reads in enhancer regions | Fraction of reads in enhancer regions |
|---|---|---|---|---|---|---|---|---|---|---|
| rep1 | 142641 | 96690 | 17.1295 | 29455074 | 11012580 | 0.3741 | 6221966 | 0.2114 | 12851062 | 0.4366 |
| rep2 | 142641 | 96690 | 6.515 | 78975437 | 4579417 | 0.058 | 4334187 | 0.0549 | 26151567 | 0.3312 |
| Metric | Value |
|---|---|
| auPRC | 0.6434 |
| Calibrated Recall at 50% FDR | 0.182 |
| Number of Positive Examples in Test Data | 120926 |
| Number of Negative Examples in Test Data | 7949925 |
| Imbalance Ratio in Test Data | 0.015 |
| Test Chromosomes | chr2, chr3, chr19 |
from matlas.modisco_report import display_comparative_motif_sets
display_comparative_motif_sets(sample_name, homer_root, modisco_root)
TF-MoDISco is using the TensorFlow backend.
| Motif Name | Modisco | Homer |
|---|---|---|
| Rela | ||
| Sfpi1 | ||
| Sp3 | ||
| Ctcf |
| Motif Name | Modisco | Homer |
|---|---|---|
| Hsf1 | absent | |
| Tbpl2 | absent | |
| Elk3 | absent | |
| Creb3 | absent | |
| Nfia | absent | |
| Smarcc2 | absent | |
| Bcl11a | absent | |
| Fos | absent | |
| Foxi1 | absent | |
| Tcfeb | absent | |
| Runx1 | absent | |
| Mef2d | absent | |
| Cebpb | absent |
| Motif Name | Modisco | Homer |
|---|---|---|
| Nfe2l2 | absent | |
| Zfp143 | absent | |
| Jdp2 | absent | |
| Irf4 | absent | |
| Pbx3 | absent | |
| Yy1 | absent | |
| Grhl1 | absent | |
| Runx2 | absent | |
| Creb1 | absent |
modisco_report_pipeline(sample_name, modisco_root, mitra_subdir, task_dir, database_name,
importance=True, render=True)
rsync -t -av /srv/scratch/msharmin/mouse_hem/with_tfd/full_mouse50/Naive_modisco2019/task_195-naivegw/cisbp_tomtomout /srv/www/kundaje/msharmin/report/version2/task_195-naivegw/ chmod -R +755 /srv/www/kundaje/msharmin/report/version2/task_195-naivegw Displaying motifs which has positive importances for the cell type
modisco_report_pipeline(sample_name, modisco_root, mitra_subdir, task_dir, database_name,
importance=False, render=True)
rsync -t -av /srv/scratch/msharmin/mouse_hem/with_tfd/full_mouse50/Naive_modisco2019/task_195-naivegw/cisbp_tomtomout /srv/www/kundaje/msharmin/report/version2/task_195-naivegw/ chmod -R +755 /srv/www/kundaje/msharmin/report/version2/task_195-naivegw Displaying motifs which has negative importances for the cell type