opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Add condition to the study API #3585

Open jdhayhurst opened 1 month ago

jdhayhurst commented 1 month ago

Add condition to the study API

The field is already in the schema, we just need to expose it in the API.

-RECORD 0-------------------------------------------------------------------------------------------
 studyId               | FUSION_leafcutter_adipose_naive_17:46540881:46548312:clu_48768_-           
 projectId             | FUSION                                                                     
 studyType             | sqtl                                                                       
 traitFromSource       | 17:46540881:46548312:clu_48768_-                                           
 geneId                | ENSG00000238083                                                            
 biosampleFromSourceId | UBERON_0001013                                                             
 pubmedId              | 31076557                                                                   
 nSamples              | 271                                                                        
 summarystatsLocation  | https://ftp.ebi.ac.uk/pub/databases/spot/eQTL/sumstats/QTS000011/QTD000094 
 hasSumstats           | true                                                                       
 condition             | naive                                                                      
only showing top 1 row