Skip to content

kundajelab/chrombpnet-figures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Bias factorized, base-resolution deep learning models of chromatin accessibility reveal cis-regulatory sequence syntax, transcription factor footprints and regulatory variants

This repository contains code to make figures for the paper "Bias factorized, base-resolution deep learning models of chromatin accessibility reveal cis-regulatory sequence syntax, transcription factor footprints and regulatory variants" by Pampari et al. Please refer to the details below for finding the path to the relevant analysis.

To download corresponding models, contribution scores and modisco objects for each of the analysis, refer to the synpase repository - https://www.synapse.org/Synapse:syn59449898/files/

We will be improving the documentation and cleaning up this repository through the following weeks. If you have any questions please reach out to [email protected]

Figure 4

A. Locus Plot

  • Get contribution scores from synapse directory for the subsampled models
  • Run 4a_locus_plot.ipynb to generate figures

B. JSD plots

C. Balloon plot with recalls

D. Marginal Footprints

Figure 5

A. Modisco figure

B. Marginal footprinting

  • Download 5 fold models from ENCODE portal for each celltype
  • Use scripts in src/figures_factory/Fig5/scripts/marginal_footprinting/ to generate marginal footprints. Input models in TSV format.
  • Run 5b_marginal_footprinting_motifs_atac.ipynb to generate plots

C. Marginal footprinting (IMR90 AP1-TEAD heterodimer)

D. Locus plot

  • Download relevant files from ENCODE portal - predictions and contribution scores for HEPG2 ATAC-seq ChromBPNet and corresponding ChIP-seq models
  • Use 5d_locus_plots_main_atac.ipynb to generate locus plot

E. and F. CTCF TF ChIP BPNet versus ChromBPNet contribution scores

TODO

G. TF ChIP BPNet versus ChromBPNet contribution scores

TODO

Figure 6 and 7

Generating Figures

  • Download TSV files from https://www.synapse.org/Synapse:syn64126763 (We will be releasing the CAGI TSV files ones we receive permissions from the original authors)
  • Run notebooks in src/figures_factory/Fig6/ to generate the figures

Generating TSV files

DsQTLs

European CaQTLs

African CaQTLs

SMC CaQTLs

Microglia CaQTLs

SPI1 binding QTLs

GWAS Blood traits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages