In [1]:
# Parameters
data_name = "Nfic"
task_idxs = "0-213,216-278"
homer_root = "/srv/scratch/msharmin/mouse_hem/with_tfd/full_mouse50/Naive_scans"
modisco_root = "/srv/scratch/msharmin/mouse_hem/with_tfd/full_mouse50/Naive_modisco2019"
overwrite = False
In [2]:
from matlas.reports import collect_motifDB_to_be_displayed, display_comparative_cell_types
load data from labcluster
Using TensorFlow backend.
2019-08-23 11:22:57,285 [WARNING] git-lfs not installed
In [3]:
homer_matches, modisco_matches = collect_motifDB_to_be_displayed(task_idxs, homer_root, modisco_root, 
                                                              overwrite=False)
TF-MoDISco is using the TensorFlow backend.
In [4]:
display_comparative_cell_types(data_name, homer_matches, modisco_matches)
Nfic: Motif: M09385_2.00



Forward PWM

Reverse PWM

Shared Cell types both TF-MoDISco and Homer finds Nfic: #4

Cell typeModiscoHomer
SKLTL_Muscle;8wks;D;En

Pattern: metacluster_1/pattern_2

Significance: 0.00730796

Pattern: motif3.motif

Significance: 0.00764112

G_NRN_P;A;GEO

Pattern: metacluster_1/pattern_3

Significance: 0.0009132

Pattern: motif2.motif

Significance: 0.027844400000000002

CRBLM;D;En

Pattern: metacluster_1/pattern_2

Significance: 0.00797205

Pattern: motif3.motif

Significance: 0.056275900000000004

Muscle;A;CL

Pattern: metacluster_1/pattern_4

Significance: 0.00652398

Pattern: motif18.motif

Significance: 0.0224106

Unique Cell types only TF-MoDISco finds Nfic: #152

Cell typeModiscoHomer
MPP;A;CL

Pattern: metacluster_1/pattern_18

Significance: 0.00350263

Absent
naiveCD8;A;CL

Pattern: metacluster_0/pattern_16

Significance: 0.00295742

Absent
memT;CD4+;A;CL

Pattern: metacluster_1/pattern_21

Significance: 0.00806908

Absent
Th17;CD4+;A;CL

Pattern: metacluster_1/pattern_16

Significance: 0.0118985

Absent
NK_SPLND;A;CL

Pattern: metacluster_0/pattern_19

Significance: 0.0180286

Absent
proB;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.0376804

Absent
immatureB;A;CL

Pattern: metacluster_1/pattern_18

Significance: 0.0217315

Absent
matureB;A;CL

Pattern: metacluster_0/pattern_22

Significance: 0.0155066

Absent
plasmaB;A;CL

Pattern: metacluster_1/pattern_18

Significance: 0.00886917

Absent
Mast;A;CL

Pattern: metacluster_0/pattern_18

Significance: 0.00486744

Absent
Tfh_LCMV;A;CL

Pattern: metacluster_1/pattern_21

Significance: 0.0441246

Absent
aNonTfh_mut;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.00674112

Absent
Tfr;CD4+CD44+CXCR5+PD1+CD25+;A;CL

Pattern: metacluster_1/pattern_24

Significance: 0.0587783

Absent
Tfr_mut;CD4+CD44+CXCR5+PD1+CD25+;A;CL

Pattern: metacluster_1/pattern_21

Significance: 0.00931091

Absent
CD4+CD8intTCR+CD69+CD24+;B2defM;A;CL

Pattern: metacluster_1/pattern_19

Significance: 0.00556607

Absent
CD4+CD8-TCR+CD69-CD24-CD25-;B2defM;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.00512136

Absent
CD4+CD8+TCR+CD69+CD24+;MHC2defM;A;C

Pattern: metacluster_1/pattern_14

Significance: 0.0353452

Absent
CD4+CD8+TCR+CD69-CD24-;MHC2defM;A;CL

Pattern: metacluster_1/pattern_19

Significance: 0.014808000000000002

Absent
CD4+CD8-TCR+CD25+Foxp3-;A;CL

Pattern: metacluster_1/pattern_20

Significance: 0.029805400000000003

Absent
CD4+CD8-TCR+CD25-Foxp3+;A;CL

Pattern: metacluster_1/pattern_24

Significance: 0.029462799999999997

Absent
CD4+CD8-TCR+CD25+Foxp3+;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.0185687

Absent
Erythroblast;A;CL

Pattern: metacluster_1/pattern_18

Significance: 0.0165267

Absent
DP;A;CL

Pattern: metacluster_1/pattern_21

Significance: 0.00902908

Absent
DP3b;A;CL

Pattern: metacluster_1/pattern_15

Significance: 0.00317992

Absent
ISP;A;CL

Pattern: metacluster_1/pattern_18

Significance: 0.0363665

Absent
ES;MEF;A;CL

Pattern: metacluster_1/pattern_8

Significance: 0.000729783

Absent
SML_INTSTN;A;CL

Pattern: metacluster_0/pattern_12

Significance: 0.0022811

Absent
LRG_INTSTN;A;CL

Pattern: metacluster_0/pattern_14

Significance: 0.00452764

Absent
LNG;A;CL

Pattern: metacluster_1/pattern_6

Significance: 0.00219013

Absent
Heart;D;En

Pattern: metacluster_0/pattern_1

Significance: 0.00461825

Absent
Mammary;A;CL

Pattern: metacluster_0/pattern_5

Significance: 0.00432333

Absent
Adrenal;A;CL

Pattern: metacluster_1/pattern_7

Significance: 0.00183734

Absent
SPNL_CHRD;A;CL

Pattern: metacluster_1/pattern_10

Significance: 0.0164728

Absent
STMCH;A;CL

Pattern: metacluster_1/pattern_16

Significance: 0.0548462

Absent
NRV;Eye-OPTC;A;CL

Pattern: metacluster_0/pattern_8

Significance: 0.013909

Absent
BRN;OLFTRY_BLB;A;CL

Pattern: metacluster_0/pattern_10

Significance: 0.00177138

Absent
BRN;FRNTL_CRTX;A;CL

Pattern: metacluster_1/pattern_14

Significance: 0.00463683

Absent
BRN;PTMN;A;CL

Pattern: metacluster_1/pattern_10

Significance: 0.00521317

Absent
BRN;MDL_OBLNGT;A;CL

Pattern: metacluster_1/pattern_6

Significance: 0.0125308

Absent
BRN;SNSR_MTR_CRTX;A;CL

Pattern: metacluster_1/pattern_9

Significance: 0.00554647

Absent
BRN;CRBLM;A;CL

Pattern: metacluster_0/pattern_5

Significance: 0.00537452

Absent
restingB;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.0406728

Absent
LNG_TRM_HSC;A;CL

Pattern: metacluster_1/pattern_13

Significance: 0.0106555

Absent
SHRT_TRM_HSC;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.00196197

Absent
gamma_delta_TCR;A;CL

Pattern: metacluster_1/pattern_20

Significance: 0.00574927

Absent
gamma_delta_TCR_MCR;A;CL

Pattern: metacluster_1/pattern_20

Significance: 0.054945600000000004

Absent
ILC2precrsr;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.0166785

Absent
NCR+ILC3;A;CL

Pattern: metacluster_1/pattern_19

Significance: 0.035437800000000005

Absent
ILC2_Nippo;A;CL

Pattern: metacluster_1/pattern_19

Significance: 0.0184233

Absent
ILC1;A;CL

Pattern: metacluster_1/pattern_16

Significance: 0.047313

Absent
NCR+ILC3+IL23;A;CL

Pattern: metacluster_1/pattern_20

Significance: 0.00781046

Absent
ILC2;A;CL

Pattern: metacluster_1/pattern_16

Significance: 0.038758999999999995

Absent
CLP;A;CL

Pattern: metacluster_1/pattern_17

Significance: 0.0120766

Absent
NK_LVRD;CD19-CD3e-NKp46+DX+Trail-;A;GEO

Pattern: metacluster_1/pattern_15

Significance: 0.0174578

Absent
Mammary_GLND;A;GEO

Pattern: metacluster_1/pattern_4

Significance: 0.00448549

Absent
CRBL_GRNL_Precrsr;A;GEO

Pattern: metacluster_0/pattern_3

Significance: 0.00160849

Absent
ILC2+IL33+IL25;A;GEO

Pattern: metacluster_1/pattern_19

Significance: 0.00226502

Absent
ILC1;A;GEO

Pattern: metacluster_1/pattern_17

Significance: 0.00705268

Absent
ILC2;A;GEO

Pattern: metacluster_1/pattern_19

Significance: 0.0179935

Absent
ILC3;A;GEO

Pattern: metacluster_1/pattern_15

Significance: 0.00975284

Absent
ILC1_AbxGRMFree;A;GEO

Pattern: metacluster_1/pattern_18

Significance: 0.0455959

Absent
ILC2_AbxGRMFree;A;GEO

Pattern: metacluster_1/pattern_19

Significance: 0.050273000000000005

Absent
ILC3_AbxGRMFree;A;GEO

Pattern: metacluster_1/pattern_17

Significance: 0.00487058

Absent
T_LCMV;CD8+;D35;A;GEO

Pattern: metacluster_1/pattern_18

Significance: 0.0549928

Absent
TExh_SPLND;CD8+;A;GEO

Pattern: metacluster_1/pattern_18

Significance: 0.0458125

Absent
cntrl_memT;TCR_SV40-I_CD8+;A;GEO

Pattern: metacluster_1/pattern_20

Significance: 0.00781267

Absent
T_MLD;TCR_SV40-I_CD8+;D7;A;GEO

Pattern: metacluster_1/pattern_21

Significance: 0.05184540000000001

Absent
preB_BMD;A;GEO

Pattern: metacluster_1/pattern_20

Significance: 0.0125166

Absent
B;B220_CD43;A;GEO

Pattern: metacluster_1/pattern_26

Significance: 0.0448003

Absent
Erythroid;Ter119+;A;GEO

Pattern: metacluster_0/pattern_14

Significance: 0.0355233

Absent
AML;AE9a;A;GEO

Pattern: metacluster_1/pattern_5

Significance: 0.023234400000000002

Absent
DC_LPS;6h;A;GEO

Pattern: metacluster_1/pattern_23

Significance: 0.0341662

Absent
SKN_EPTHL;A;GEO

Pattern: metacluster_0/pattern_2

Significance: 0.0027792

Absent
BCK_SKN;A;GEO

Pattern: metacluster_0/pattern_2

Significance: 0.0208652

Absent
NPC;F129;A;GEO

Pattern: metacluster_1/pattern_2

Significance: 0.0104822

Absent
NPC;G4;A;GEO

Pattern: metacluster_1/pattern_2

Significance: 0.00204573

Absent
NPC;Ch13;A;GEO

Pattern: metacluster_1/pattern_2

Significance: 0.0045509999999999995

Absent
NPC;mE6;A;GEO

Pattern: metacluster_1/pattern_2

Significance: 0.00624277

Absent
ePyramidal_NRN;A;GEO

Pattern: metacluster_1/pattern_5

Significance: 0.00481392

Absent
iPV_NRN;A;GEO

Pattern: metacluster_1/pattern_12

Significance: 0.00210709

Absent
iVIP_NRN;A;GEO

Pattern: metacluster_1/pattern_1

Significance: 0.00227214

Absent
eCortical_NRN;A;GEO

Pattern: metacluster_1/pattern_7

Significance: 0.00728285

Absent
ThMS_MEC;Aire++;A;GEO

Pattern: metacluster_1/pattern_9

Significance: 0.00284289

Absent
Corticotrope;A;GEO

Pattern: metacluster_0/pattern_10

Significance: 0.00842888

Absent
Melanotrope;A;GEO

Pattern: metacluster_0/pattern_4

Significance: 0.00462205

Absent
Mammary_BptfKO;A;GEO

Pattern: metacluster_0/pattern_2

Significance: 0.00499016

Absent
EPP;A;En

Pattern: metacluster_1/pattern_18

Significance: 0.0336467

Absent
MegEP;A;CL

Pattern: metacluster_1/pattern_9

Significance: 0.00125861

Absent
pErythroblast;A;En

Pattern: metacluster_1/pattern_14

Significance: 0.00534605

Absent
MegP;A;En

Pattern: metacluster_1/pattern_17

Significance: 0.00582327

Absent
pCMP;A;CL

Pattern: metacluster_1/pattern_15

Significance: 0.00559237

Absent
DC_LPS;4h;A;En

Pattern: metacluster_1/pattern_18

Significance: 0.0419189

Absent
DC;A;En

Pattern: metacluster_1/pattern_17

Significance: 0.0484954

Absent
ES;ZhBTc4;1;D;GEO

Pattern: metacluster_1/pattern_21

Significance: 0.0175673

Absent
NIH3T3_FBROBLST;D;GEO

Pattern: metacluster_1/pattern_3

Significance: 0.0030294000000000002

Absent
LVR;8wks;D;GEO

Pattern: metacluster_1/pattern_9

Significance: 0.0201804

Absent
LNG;8wks;D;GEO

Pattern: metacluster_0/pattern_4

Significance: 0.00293465

Absent
3134_mammaryADNCRCNM;D;GE

Pattern: metacluster_1/pattern_4

Significance: 0.00205004

Absent
T_SPLND_blstCLTRD;CD4+;D;GEO

Pattern: metacluster_1/pattern_16

Significance: 0.0230456

Absent
naiveT_SPLND;CD4+;D;GEO

Pattern: metacluster_1/pattern_16

Significance: 0.057811699999999994

Absent
apCD4Eff;D;GEO

Pattern: metacluster_1/pattern_20

Significance: 0.030813599999999997

Absent
WHL_BRN;8wks;D;GEO

Pattern: metacluster_1/pattern_6

Significance: 8.7031e-05

/

Pattern: metacluster_1/pattern_7

Significance: 0.00466978

Absent
wES;WHL_BRN;E14.5;D;GEO

Pattern: metacluster_0/pattern_1

Significance: 0.0591011

Absent
ES;129S1_SVImJ_CJ7;D;En

Pattern: metacluster_1/pattern_23

Significance: 0.0139762

Absent
NIH3T3_FBROBLST;D;En

Pattern: metacluster_1/pattern_5

Significance: 0.00122452

Absent
FBRBLST;8wks;D;En

Pattern: metacluster_1/pattern_5

Significance: 0.0038405

/

Pattern: metacluster_1/pattern_6

Significance: 0.00767555

Absent
3T3-L1;FBRBLST;D;En

Pattern: metacluster_1/pattern_5

Significance: 0.00512701

Absent
KDNY;P0;D;En

Pattern: metacluster_1/pattern_4

Significance: 2.76801e-08

Absent
KDNY;8wks;D;En

Pattern: metacluster_1/pattern_4

Significance: 0.00334214

Absent
LVR;8wks;D;En

Pattern: metacluster_0/pattern_4

Significance: 0.00191507

Absent
wES;LVR;E11.5;D.;En

Pattern: metacluster_1/pattern_21

Significance: 0.0100704

Absent
LVR;P0;D;En

Pattern: metacluster_1/pattern_13

Significance: 0.00393057

Absent
LNG;8wks;D;En

Pattern: metacluster_0/pattern_4

Significance: 0.00374178

Absent
LNG;P0;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.000593311

Absent
wES;LNG;E14.5;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.00221569

Absent
Heart;8wks;D;En

Pattern: metacluster_0/pattern_3

Significance: 0.00819172

Absent
Heart;P0;D;En

Pattern: metacluster_1/pattern_4

Significance: 0.0342168

/

Pattern: metacluster_1/pattern_11

Significance: 0.00136953

Absent
Adipocyte_3T3-L1D;C57BL6;D8;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.0445461

/

Pattern: metacluster_1/pattern_8

Significance: 0.00650388

Absent
Adipose;D;En

Pattern: metacluster_0/pattern_2

Significance: 0.000976947

Absent
RTN;D1;D;En

Pattern: metacluster_0/pattern_12

Significance: 0.00940451

Absent
wES;RTN;E11.5;D;En

Pattern: metacluster_0/pattern_26

Significance: 0.0361895

Absent
abTreg;CD4+_CD25+;8wks;D;En

Pattern: metacluster_1/pattern_17

Significance: 0.012439299999999999

Absent
416B_MP;CD34+;D;En

Pattern: metacluster_1/pattern_6

Significance: 0.00767639

Absent
wES;MSDRM;E11.5;D;En

Pattern: metacluster_0/pattern_18

Significance: 0.0250762

Absent
Muller;P12;D;En

Pattern: metacluster_1/pattern_4

Significance: 0.00190093

/

Pattern: metacluster_1/pattern_6

Significance: 0.00673661

Absent
wES.Fr_BRN;E14.4;D;En

Pattern: metacluster_0/pattern_5

Significance: 0.000150946

/

Pattern: metacluster_0/pattern_10

Significance: 0.00232511

Absent
Hnd_BRN;P0;D;En

Pattern: metacluster_1/pattern_2

Significance: 0.00951943

Absent
wES;Hnd_BRN;E11.5;D;En

Pattern: metacluster_0/pattern_21

Significance: 0.018287

Absent
wES;Md_BRN;E14.4;D;En

Pattern: metacluster_0/pattern_5

Significance: 0.00322672

Absent
wES;Md_BRN;E11.5;D;En

Pattern: metacluster_0/pattern_20

Significance: 0.029105799999999998

Absent
wES;WHL_BRN;E14.5;D;En

Pattern: metacluster_1/pattern_4

Significance: 0.00612709

Absent
WHL_BRN;8wks;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.00468583

Absent
wES;Telenchephalon;D;En

Pattern: metacluster_1/pattern_4

Significance: 0.00582447

Absent
wES;limb;E14.5;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.018938800000000002

/

Pattern: metacluster_1/pattern_5

Significance: 0.00157272

Absent
wES;limb;E11.5;D;En

Pattern: metacluster_0/pattern_21

Significance: 0.0036268

Absent
wES;Fr_lmb;E11.5;D;En

Pattern: metacluster_1/pattern_19

Significance: 0.015100899999999999

Absent
wES;Hnd_lmb;E11.5;D;En

Pattern: metacluster_0/pattern_27

Significance: 0.00213762

Absent
wES;FaceP;E14.5;D;En

Pattern: metacluster_0/pattern_4

Significance: 0.000225091

Absent
wES;FaceP;E11.5;D;En

Pattern: metacluster_1/pattern_17

Significance: 0.0037984000000000004

Absent
wES;NRL_Tube;E11.5;D;En

Pattern: metacluster_1/pattern_15

Significance: 0.0169358

Absent
LRG_INTSTN;8wks;D;En

Pattern: metacluster_1/pattern_5

Significance: 0.00190922

Absent
STMCH;P0;D;En

Pattern: metacluster_1/pattern_6

Significance: 0.0008554519999999999

Absent
Spleen;8wks;D;En

Pattern: metacluster_1/pattern_19

Significance: 0.000329892

Absent
3134_mammaryADNCRCNM;D;En

Pattern: metacluster_0/pattern_3

Significance: 0.00112106

Absent
AML;D;En

Pattern: metacluster_1/pattern_22

Significance: 0.025672800000000003

Absent
MEF.GATA-1-ER;D;En

Pattern: metacluster_1/pattern_7

Significance: 0.00468584

Absent
MEL;D;En

Pattern: metacluster_1/pattern_8

Significance: 0.000459416

Absent
MEL_Znc_di-cl;24h;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.003827

Absent
NIH3T3;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.030122900000000005

/

Pattern: metacluster_1/pattern_10

Significance: 0.00202915

Absent
MTR_NRN_MN1;methyl3;D;En

Pattern: metacluster_0/pattern_4

Significance: 0.002562

Absent
MN1;D;En

Pattern: metacluster_1/pattern_4

Significance: 0.00651869

Absent
3T3-L1;D;En

Pattern: metacluster_1/pattern_3

Significance: 0.00543695

Absent
No Cell types only Homer finds Nfic