Skip to content
Guoqian Jiang edited this page Apr 2, 2016 · 5 revisions

Select Phenotype Variables (as of March 31, 2016)

  • In total, we extracted 16864 links of dbGaP data dictionaries from the dbGaP Table of Content XML file. Of them, we identified 769 links for the data dictionaries in the category “Subject Phenotypes” produced by 438 studies, and 786 links for the data dictionaries in the category of “Sample Attributes” produced by 435 studies.
  • After parsing the data dictionaries in XML format, we extracted the metadata of 24072 variables from the data dictionaries in the category of “Subject Phenotypes” and the metadata of 5528 variables from the category of “Sample Attributes”. An initial list of mappings were created for those frequently used phenotype variables in the two categories.

Select variables (as of January 28, 2016)

  • search term "cancer": http://www.ncbi.nlm.nih.gov/gap/?term=cancer
  • search results: 324 studies, 15160 variables, and 956 datasets
  • collect the data dictionaries for 100 studies, containing 3157 clinical variables
  • select top 20 variables for annotations

OpenRefine script

  • jsonize(forEach(value.parseHtml().select('variable name'), n, n.htmlText()))
  • jsonize(forEach(value.parseHtml().select('variable'), n, n.htmlAttr("id")))

Clone this wiki locally