@Path(value="/{version}/{species}/feature/variation") @Produces(value="application/json") public class VariationWSServer extends GenericRestWSServer
Modifier and Type | Field and Description |
---|---|
protected static HashMap<String,List<org.opencb.biodata.models.core.Transcript>> |
CACHE_TRANSCRIPT |
assembly, cellBaseConfiguration, count, dbAdaptorFactory, exclude, httpServletRequest, include, initialized, jsonObjectMapper, jsonObjectWriter, limit, logger, monitor, outputFormat, params, query, queryOptions, SERVICE_START_DATE, skip, skipCount, sort, species, startTime, uriInfo, version, WATCH
Constructor and Description |
---|
VariationWSServer(String version,
String species,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest hsr) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
count() |
javax.ws.rs.core.Response |
first() |
javax.ws.rs.core.Response |
getAllConsequenceTypes() |
javax.ws.rs.core.Response |
getByEnsemblId(String id) |
javax.ws.rs.core.Response |
getConsequenceTypeByGetMethod(String snpId) |
javax.ws.rs.core.Response |
getConsequenceTypeByPostMethod(String snpId) |
javax.ws.rs.core.Response |
getModel() |
javax.ws.rs.core.Response |
getNextById(String id) |
javax.ws.rs.core.Response |
getPopulationFrequency(String snpId) |
javax.ws.rs.core.Response |
getRegulatoryByGetMethod(String snpId) |
javax.ws.rs.core.Response |
getRegulatoryTypeByPostMethod(String snpId) |
javax.ws.rs.core.Response |
getSequence(String query) |
javax.ws.rs.core.Response |
getXrefs(String query) |
javax.ws.rs.core.Response |
search() |
javax.ws.rs.core.Response |
stats() |
createErrorResponse, createErrorResponse, createJsonResponse, createModelResponse, createOkResponse, createOkResponse, createOkResponse, createQueries, createStringResponse, defaultMethod, generateResponse, generateResponse, help, logQuery, parseQueryParams
public VariationWSServer(@PathParam(value="version") String version, @PathParam(value="species") String species, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.servlet.http.HttpServletRequest hsr) throws VersionException, SpeciesException, IOException, CellbaseException
@GET @Path(value="/model") public javax.ws.rs.core.Response getModel()
@GET @Path(value="/first") public javax.ws.rs.core.Response first()
@GET @Path(value="/count") public javax.ws.rs.core.Response count()
@GET @Path(value="/stats") public javax.ws.rs.core.Response stats()
@GET @Path(value="/{id}/info") public javax.ws.rs.core.Response getByEnsemblId(@PathParam(value="id") String id)
@GET @Path(value="/search") public javax.ws.rs.core.Response search()
@GET @Path(value="/{id}/next") public javax.ws.rs.core.Response getNextById(@PathParam(value="id") String id)
@GET @Path(value="/consequence_types") public javax.ws.rs.core.Response getAllConsequenceTypes()
@GET @Path(value="/{snpId}/consequence_type") public javax.ws.rs.core.Response getConsequenceTypeByGetMethod(@PathParam(value="snpId") String snpId)
@POST @Path(value="/consequence_type") public javax.ws.rs.core.Response getConsequenceTypeByPostMethod(@QueryParam(value="id") String snpId)
@GET @Path(value="/{snpId}/regulatory") public javax.ws.rs.core.Response getRegulatoryByGetMethod(@PathParam(value="snpId") String snpId)
@POST @Path(value="/regulatory") public javax.ws.rs.core.Response getRegulatoryTypeByPostMethod(@QueryParam(value="id") String snpId)
@GET @Path(value="/{snpId}/sequence") public javax.ws.rs.core.Response getSequence(@PathParam(value="snpId") String query)
@GET @Path(value="/{snpId}/population_frequency") public javax.ws.rs.core.Response getPopulationFrequency(@PathParam(value="snpId") String snpId)
@GET @Path(value="/{snpId}/xref") public javax.ws.rs.core.Response getXrefs(@PathParam(value="snpId") String query)
Copyright © 2019. All rights reserved.