Skip to content

Commit

Permalink
wip: modify graphql types for new gtex/pext schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed Sep 23, 2024
1 parent 6010dbe commit 0ea1c25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 120 deletions.
3 changes: 1 addition & 2 deletions graphql-api/src/graphql/types/gene.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ type GeneTranscript {
stop: Int!
exons: [Exon!]!
strand: String!

gtex_tissue_expression: [GtexTissue]
gtex_tissue_expression: [GtexTissue!]
}

type ManeSelectTranscript {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,61 +1,4 @@
# type GtexTissueExpression {
# adipose_subcutaneous: Float!
# adipose_visceral_omentum: Float!
# adrenal_gland: Float!
# artery_aorta: Float!
# artery_coronary: Float!
# artery_tibial: Float!
# bladder: Float!
# brain_amygdala: Float!
# brain_anterior_cingulate_cortex_ba24: Float!
# brain_caudate_basal_ganglia: Float!
# brain_cerebellar_hemisphere: Float!
# brain_cerebellum: Float!
# brain_cortex: Float!
# brain_frontal_cortex_ba9: Float!
# brain_hippocampus: Float!
# brain_hypothalamus: Float!
# brain_nucleus_accumbens_basal_ganglia: Float!
# brain_putamen_basal_ganglia: Float!
# brain_spinal_cord_cervical_c_1: Float!
# brain_substantia_nigra: Float!
# breast_mammary_tissue: Float!
# cells_ebv_transformed_lymphocytes: Float!
# cells_transformed_fibroblasts: Float
# cells_cultured_fibroblasts: Float
# cervix_ectocervix: Float!
# cervix_endocervix: Float!
# colon_sigmoid: Float!
# colon_transverse: Float!
# esophagus_gastroesophageal_junction: Float!
# esophagus_mucosa: Float!
# esophagus_muscularis: Float!
# fallopian_tube: Float!
# heart_atrial_appendage: Float!
# heart_left_ventricle: Float!
# kidney_cortex: Float!
# liver: Float!
# lung: Float!
# minor_salivary_gland: Float!
# muscle_skeletal: Float!
# nerve_tibial: Float!
# ovary: Float!
# pancreas: Float!
# pituitary: Float!
# prostate: Float!
# skin_not_sun_exposed_suprapubic: Float!
# skin_sun_exposed_lower_leg: Float!
# small_intestine_terminal_ileum: Float!
# spleen: Float!
# stomach: Float!
# testis: Float!
# thyroid: Float!
# uterus: Float!
# vagina: Float!
# whole_blood: Float!
# }

type GtexTissue {
tissue: String
value: Float
tissue: String!
value: Float!
}
60 changes: 1 addition & 59 deletions graphql-api/src/graphql/types/tissue-expression/pext.graphql
Original file line number Diff line number Diff line change
@@ -1,60 +1,3 @@
# type PextRegionTissueValues {
# adipose_subcutaneous: Float!
# adipose_visceral_omentum: Float!
# adrenal_gland: Float!
# artery_aorta: Float!
# artery_coronary: Float!
# artery_tibial: Float!
# bladder: Float!
# brain_amygdala: Float!
# brain_anterior_cingulate_cortex_ba24: Float!
# brain_caudate_basal_ganglia: Float!
# brain_cerebellar_hemisphere: Float!
# brain_cerebellum: Float!
# brain_cortex: Float!
# brain_frontal_cortex_ba9: Float!
# brain_hippocampus: Float!
# brain_hypothalamus: Float!
# brain_nucleus_accumbens_basal_ganglia: Float!
# brain_putamen_basal_ganglia: Float!
# brain_spinal_cord_cervical_c_1: Float!
# brain_substantia_nigra: Float!
# breast_mammary_tissue: Float!
# cells_ebv_transformed_lymphocytes: Float!
# cells_transformed_fibroblasts: Float
# cells_cultured_fibroblasts: Float
# cervix_ectocervix: Float!
# cervix_endocervix: Float!
# colon_sigmoid: Float!
# colon_transverse: Float!
# esophagus_gastroesophageal_junction: Float!
# esophagus_mucosa: Float!
# esophagus_muscularis: Float!
# fallopian_tube: Float!
# heart_atrial_appendage: Float!
# heart_left_ventricle: Float!
# kidney_cortex: Float!
# liver: Float!
# lung: Float!
# minor_salivary_gland: Float!
# muscle_skeletal: Float!
# nerve_tibial: Float!
# ovary: Float!
# pancreas: Float!
# pituitary: Float!
# prostate: Float!
# skin_not_sun_exposed_suprapubic: Float!
# skin_sun_exposed_lower_leg: Float!
# small_intestine_terminal_ileum: Float!
# spleen: Float!
# stomach: Float!
# testis: Float!
# thyroid: Float!
# uterus: Float!
# vagina: Float!
# whole_blood: Float!
# }

type PextRegionTissue {
tissue: String
value: Float
Expand All @@ -64,8 +7,7 @@ type PextRegion {
start: Int!
stop: Int!
mean: Float!
# tissues: PextRegionTissueValues
tissues: [PextRegionTissue]
tissues: [PextRegionTissue!]!
}

type Pext {
Expand Down

0 comments on commit 0ea1c25

Please sign in to comment.