Retrieve misc_feature Components for a Gene Identifier
get
/ohfapi/cg/v3.3/genes/{id}/components/misc_feature
This endpoint supports the retrieval of misc_feature Components for a Gene Row ID passed. It returns all misc_feature Component information like Gene Name, Ensembl Version, Transcript Identifier, Component Name, Component Identifier, Genomic Positions, Strand and other misc_feature Component associated information. The 'Count' value displayed in the API represents the count of unique Gene Structure Identifiers
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id: integer(int64)
Minimum Value:
0
gene row ID
Query Parameters
-
limit(optional): integer(int32)
Number of rows to return
-
offset(optional): integer(int32)
Row number to start from
Security
-
basicAuth: basic
Type:
basic
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Root Schema : PageableCollection
Type:
object
Model for paginated collections of data.
Show Source
-
count(optional):
integer(int64)
Number of objects in the 'items' collection.
-
hasMore(optional):
boolean
A boolean indicating if more pages are available.
-
items(optional):
array items
A collection of paged items.
-
links(optional):
array links
A collection of links containing hrefs to the current, next, and previous pages as applicable.
-
resourceType(optional):
string
Identify the resource type
Nested Schema : links
Type:
array
A collection of links containing hrefs to the current, next, and previous pages as applicable.
Show Source
Example:
{rel: 'next',href: '/patientapi/patients?limit=100&offset=300'}
Nested Schema : Serializable
Type:
object
400 Response
Invalid parameters supplied
404 Response
Gene misc_feature component(s) not found
Examples
The following example submits a GET request.
API URL
http://localhost:7010/ohfapi/cg/v3.3/genes/50259/components/misc_feature
Example of Response Body
The following example shows the contents of the response body in JSON format:
{ "resourceType": "GeneComponents", "items": [ { "identifier": { "system": "ODB", "value": "225728" }, "geneName": "ENSG00000146648", "ensemblVersion": "GRCH37.75", "componentSource": { "componentType": [ { "componentName": "misc_feature", "componentId": 1193144, "genomicPosition": [ { "chromosome": "7", "startPosition": 55302533, "endPosition": 55302859, "strand": "-", "numberInSequence": 1 } ] }, { "componentName": "misc_feature", "componentId": 1193147, "genomicPosition": [ { "chromosome": "7", "startPosition": 55300931, "endPosition": 55301216, "strand": "-", "numberInSequence": 1 } ] }, { "componentName": "misc_feature", "componentId": 1193150, "genomicPosition": [ { "chromosome": "7", "startPosition": 55279147, "endPosition": 55279243, "strand": "-", "numberInSequence": 1 } ] }, { "componentName": "misc_feature", "componentId": 1193152, "genomicPosition": [ { "chromosome": "7", "startPosition": 55279028, "endPosition": 55279170, "strand": "-", "numberInSequence": 1 } ] }, { "componentName": "misc_feature", "componentId": 1193155, "genomicPosition": [ { "chromosome": "7", "startPosition": 55278846, "endPosition": 55278970, "strand": "-", "numberInSequence": 1 } ] }, { "componentName": "misc_feature", "componentId": 1193157, "genomicPosition": [ { "chromosome": "7", "startPosition": 55275980, "endPosition": 55276261, "strand": "-", "numberInSequence": 1 } ] }, { "componentName": "misc_feature", "componentId": 1193160, "genomicPosition": [ { "chromosome": "7", "startPosition": 55275586, "endPosition": 55275693, "strand": "-", "numberInSequence": 1 } ] }, { "componentName": "misc_feature", "componentId": 1193163, "genomicPosition": [ { "chromosome": "7", "startPosition": 55275394, "endPosition": 55275702, "strand": "-", "numberInSequence": 1 } ] }, "geneReference": { "reference": "/ohfapi/cg/v3.3/genes/50259" } } ], "count": 1, "hasMore": false, "links": [ { "rel": "self", "href": "http://localhost:7010/ohfapi/cg/v3.3/genes/50259/components/misc_feature" } ] }