As discussed with Nowlan Freese, will be working on only the genePred (refGene) file type first, after testing it will be moving to the other file types. Currently, working on fixing an error that I got while testing the getAvailableDatasets API implementation. Below is the error log:
10:12:15.661 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve ucsc-rest-api-service [82](R 82.0): missing requirement [ucsc-rest-api-service [82](R 82.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.http.client.utils) Unresolved requirements: [[ucsc-rest-api-service [82](R 82.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.http.client.utils)]
org.osgi.framework.BundleException: Unable to resolve ucsc-rest-api-service [82](R 82.0): missing requirement [ucsc-rest-api-service [82](R 82.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.http.client.utils) Unresolved requirements: [[ucsc-rest-api-service [82](R 82.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.http.client.utils)]
To get the available datasets for a genome use https://api.genome.ucsc.edu/list/tracks?genome=hg38 this API and implement a method similar to getAvailableDataSets(). Creating module classes from the JSON Response of the API.