NutriGenMePE / schema.py
firqaaa's picture
Upload 6 files
eb88b82
raw
history blame
3.15 kB
textex_schema = {
"properties" : {
"title" : {
"type" : "string",
"description" : "Title of the given text. Often located in the top of the first page."
},
"authors" : {
"type" : "string",
"description" : "Authors / writers of the given text. Some of the names of the people."
},
"publisher" : {
"type" : "string",
"description" : "Publisher name of the given text."
},
"publication_year" : {
"type" : "string",
"description" : "The year when the given text publised."
},
"genes_locus" : {
"type" : "string",
"description" : "The gene or locus names mentioned in the text."
},
"diseases" : {
"type" : "string",
"description" : "Diseases / Phenotypes / Traits corresponding to the Gene / Locus / SNP mentioned in the text."
},
"SNPs" : {
"type" : "string",
"description" : "SNPs (Single Nucleotide Polymorphism) / rsID mentioned in the text. Usually startwith `rs` followed by some numbers."
},
"population_race" : {
"type" : "string",
"description" : "Population / race used by the author in the given text."
},
"sample_size" : {
"type" : "string",
"description" : "Sample size of the population used in the research that mentioned in the paper."
},
"study_methodology" : {
"type" : "string",
"description" : "Study methodoly mentioned in the text."
},
"study_level" : {
"type" : "string",
"description" : "Study level mentioned in the text."
}
},
"required" : ["title"]
}
tablex_schema = {
"properties" : {
"title" : {
"type" : "string",
"description" : "Title of the given text. Often located in the top of the first page. Usually at the top of authors name."
},
"authors" : {
"type" : "string",
"description" : "Authors / writers of the given text. Some of the names of the people."
},
"publisher_name" : {
"type" : "string",
"description" : "Publisher name of the given text."
},
"year_of_publication" : {
"type" : "string",
"description" : "The year when the given text publised."
},
"population_race" : {
"type" : "string",
"description" : "Population / race used by the author in the given text."
},
"sample_size" : {
"type" : "string",
"description" : "Sample size of the population used in the research that mentioned in the paper."
},
"study_methodology" : {
"type" : "string",
"description" : "Study methodoly mentioned in the text."
},
"study_level" : {
"type" : "string",
"description" : "Study level mentioned in the text."
}
},
"required" : ["title"]
}