ucscXena / ucsc-xena-client

Functional genomics browser
Apache License 2.0
57 stars 42 forks source link

test default dataset are valid #188

Closed jingchunzhu closed 5 years ago

jingchunzhu commented 7 years ago

write python script for test

abhishekvermasg commented 6 years ago

I would like to work on this too. I would be grateful for some code pointers. @acthp

acthp commented 6 years ago

We load some hand-curated metadata about the public datasets when the app launches. The url is here:

https://github.com/ucscXena/ucsc-xena-client/blob/master/js/xenaQuery.js#L404

We need a python script that will verify that all of these datasets exist, to avoid errors during release. A naive way to do this would be to use the python API to fetch the dataset list for each cohort, and check that it includes the correct datasets for that cohort.

https://ucscpublic.xenahubs.net/docs/python/xena_query.py

Abhinay1997 commented 5 years ago

@acthp I would like to work on this. Could you point me to the updated url as well as any additional context I might need ?