# Down load of co-dependencies

**URL:** https://forum.depmap.org/t/down-load-of-co-dependencies/175
**Category:** Q&A
**Created:** [August 19, 2020, 6:54pm UTC](https://forum.depmap.org/t/down-load-of-co-dependencies/175 "2020-08-19T18:54:42Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![pmontgom](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.depmap.org/pmontgom/32/4_2.png) [@pmontgom](https://forum.depmap.org/u/pmontgom)
#### Post date: [September 22, 2020, 2:34am UTC](https://forum.depmap.org/t/down-load-of-co-dependencies/175/9 "2020-09-22T02:34:51Z")

</div>

Sure, I posted some code at [https://gist.github.com/pgm/ac2ac4c664ef81200ce49133cc4cee02](https://gist.github.com/pgm/ac2ac4c664ef81200ce49133cc4cee02)

This code is modified from the portal’s codebase which will compute the top N correlates for given gene effect matrix downloaded from the portal.

Running the following would compute the top 10 co-dependencies:

`python scripts/correlation_from_csv.py Achilles_gene_effect.csv Achilles_gene_effect.csv --limit 10 out.csv`

As run above it will correlate the same matrix against itself, but one could also use the same script to correlate expression against gene effects, or any other matrix which is in the format that we provide in the DepMap downloads.

thanks,  
Phil

---

_[View the full topic](https://forum.depmap.org/t/down-load-of-co-dependencies/175)._
