@Path(value="/{version}/{species}/feature/gene") @Produces(value="application/json") public class GeneWSServer extends GenericRestWSServer
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 |
---|
GeneWSServer(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 |
defaultMethod() |
javax.ws.rs.core.Response |
first() |
javax.ws.rs.core.Response |
getAll() |
javax.ws.rs.core.Response |
getAllBiotypes() |
javax.ws.rs.core.Response |
getAllClinvarByGene(String geneId)
Deprecated.
|
javax.ws.rs.core.Response |
getAllIDs() |
javax.ws.rs.core.Response |
getAllRegulatoryElements(String geneId,
boolean merge) |
javax.ws.rs.core.Response |
getAllTfbs(String geneId,
boolean merge) |
javax.ws.rs.core.Response |
getByEnsemblId(String geneId) |
javax.ws.rs.core.Response |
getModel() |
javax.ws.rs.core.Response |
getNextByEnsemblId(String geneId) |
javax.ws.rs.core.Response |
getPPIByEnsemblId(String gene) |
javax.ws.rs.core.Response |
getProteinById(String geneId) |
javax.ws.rs.core.Response |
getSNPByGeneId(String geneId,
boolean merge) |
javax.ws.rs.core.Response |
getTranscriptsByGeneId(String geneId) |
javax.ws.rs.core.Response |
groupBy(String fields) |
javax.ws.rs.core.Response |
help() |
javax.ws.rs.core.Response |
stats() |
createErrorResponse, createErrorResponse, createJsonResponse, createModelResponse, createOkResponse, createOkResponse, createOkResponse, createQueries, createStringResponse, generateResponse, generateResponse, logQuery, parseQueryParams
public GeneWSServer(@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="/group") public javax.ws.rs.core.Response groupBy(@DefaultValue(value="") @QueryParam(value="fields") String fields)
@GET @Path(value="/search") public javax.ws.rs.core.Response getAll()
@GET @Path(value="/list") public javax.ws.rs.core.Response getAllIDs()
@GET @Path(value="/{geneId}/info") public javax.ws.rs.core.Response getByEnsemblId(@PathParam(value="geneId") String geneId)
@GET @Path(value="/{geneId}/next") public javax.ws.rs.core.Response getNextByEnsemblId(@PathParam(value="geneId") String geneId)
@GET @Path(value="/{geneId}/transcript") public javax.ws.rs.core.Response getTranscriptsByGeneId(@PathParam(value="geneId") String geneId)
@GET @Path(value="/biotype") public javax.ws.rs.core.Response getAllBiotypes()
@GET @Path(value="/{geneId}/snp") public javax.ws.rs.core.Response getSNPByGeneId(@PathParam(value="geneId") String geneId, @DefaultValue(value="false") @QueryParam(value="merge") boolean merge)
@GET @Path(value="/{geneId}/regulation") public javax.ws.rs.core.Response getAllRegulatoryElements(@PathParam(value="geneId") String geneId, @DefaultValue(value="false") @QueryParam(value="merge") boolean merge)
@GET @Path(value="/{geneId}/tfbs") public javax.ws.rs.core.Response getAllTfbs(@PathParam(value="geneId") String geneId, @DefaultValue(value="false") @QueryParam(value="merge") boolean merge)
@GET @Path(value="/{geneId}/protein") public javax.ws.rs.core.Response getProteinById(@PathParam(value="geneId") String geneId)
@GET @Path(value="/{geneId}/ppi") public javax.ws.rs.core.Response getPPIByEnsemblId(@PathParam(value="geneId") String gene)
@GET @Path(value="/{geneId}/clinical") @Deprecated public javax.ws.rs.core.Response getAllClinvarByGene(@PathParam(value="geneId") String geneId)
@GET public javax.ws.rs.core.Response defaultMethod()
defaultMethod
in class GenericRestWSServer
@GET @Path(value="/help") public javax.ws.rs.core.Response help()
help
in interface IWSServer
help
in class GenericRestWSServer
Copyright © 2019. All rights reserved.