weng-lab / SCREEN

MIT License
8 stars 2 forks source link

How to download all cCREs by cell-type #221

Open agduncan94 opened 7 months ago

agduncan94 commented 7 months ago

Hello,

I would like to download all human cCREs along with an annotation for each biosample. That is, instead of only having the cell-type agnostic classification, there would also be classifications for each biosample. Currently, the only way I can see doing this is by manually downloaded each cCREs file by cell type, and then merging into one file. Is there another way I can do this?

Perhaps some way to get a list of all files in the directory "https://downloads.wenglab.org/Registry-V3/Signal-Files/". For example, "https://downloads.wenglab.org/Registry-V3/Signal-Files/ENCSR104QUE-ENCFF671XRX.txt". Then I can just curl those files.

Thank you!

agduncan94 commented 7 months ago

Figured it out, I could use the biosamples-metadata.json file that is requested when you open the download tab on the site.