Hi,
I try to download the graphs “Dependent Cell Lines”, “Mutations” and “Enriched Lineages” of a gene (for instance from this page https://depmap.org/portal/gene/PTGER4?tab=overview ).
I have found a way to download them by using the linux command :
curl https://depmap.org/portal/tile/gene/essentiality/PTGER4 |jq -r ‘.html’>dependent_cell_lines.html
curl https://depmap.org/portal/tile/gene/mutations/PTGER4 |jq -r ‘.html’>mutations.html
curl https://depmap.org/portal/tile/gene/selectivity/PTGER4 |jq -r ‘.html’>enriched_lineages.html
Is there any problem to do these kinds of downloads ? I mean, these URLs are not documented (I found them by analyzing the URLs called when accessing the webpage https://depmap.org/portal/gene/PTGER4?tab=overview ), and I would like to know if there are any restrictions regarding the use of them. Also, will these URLs continue to work in the future ?
The reason why I want to download them is because there are no API to access the data directly.
Instead of downloading the graphs, I also considered to download the data directly (https://depmap.org/portal/download/). The problem now is to know where are the files containing the source of the data.
About “Dependent Cell Lines”, do the CRISPR data come from the file “gene_dependency.csv” (release “Sanger CRISPR (CERES)”), and the RNAi data come from the file “Achilles_gene_dependency.csv” (release “DepMap Public 20Q4”) ?
About " Mutations", do the data come from the file “CCLE_mutations.csv” (release “DepMap Public 20Q4”) ?
About “Enriched Lineages”, do the data come from the file “Achilles_gene_effect.csv” (release “DepMap Public 20Q4”) ? Also, how do I know that the data come from CRISPR or from RNAi ? Also, could you please inform me what kind of graphs is represented here ? How to reproduce that from the datasource ?
Thank you very much