Details
-
Type:
Epic
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Epic Name:Add UCSC REST API to IGB
-
Story Points:5
Description
See linked tickets.
The response for the https://api.genome.ucsc.edu/list/tracks?genome=galGal6 without any additional filter has few parent and children tracks in it, and the parent tracks doesn't have any data in the https://api.genome.ucsc.edu//getData/track?genome=galGal6&track=cons77wayViewelements&chrom=chr1&start=1&end=248956 API, it says in the response to query only for the children and the parent container doesn't have data. Attached a screenshot below. To avoid these tracks to show up in the available tracks list we can use this URL instead https://api.genome.ucsc.edu/list/tracks?genome=galGal6;trackLeavesOnly=1 which has the trackLeavesOnly=1 parameter added to it which filters out the parents and gives us only the children in the response.