| ... | ... | @@ -56,7 +56,7 @@ public class RestClient { |
|
|
|
|
|
|
|
public static JSONArray getVariants(String species, String symbol) throws ParseException, MalformedURLException, IOException, InterruptedException {
|
|
|
|
String id = getGeneID(species, symbol);
|
|
|
|
return (JSONArray) getJSON("/feature/id/"+id+"?feature=variation");
|
|
|
|
return (JSONArray) getJSON("/overlap/id/"+id+"?feature=variation");
|
|
|
|
}
|
|
|
|
|
|
|
|
public static String getGeneID(String species, String symbol) throws ParseException, MalformedURLException, IOException, InterruptedException {
|
| ... | ... | |