Last active
July 26, 2017 13:53
-
-
Save benjeffery/c18271260bcfd8e9a929d39080297850 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
regions <--- THIS NEEDS POPULATING! | |
id | |
lat | |
lng | |
name | |
description | |
num_samples | |
countries | |
id | |
lat | |
lng | |
name | |
num_samples | |
sites | |
id | |
lat | |
lng | |
name | |
num_samples | |
features | |
id | |
name | |
category | |
description | |
samples | |
id | |
site | |
country | |
region | |
site_lat | |
site_lng | |
country_lat | |
country_lng | |
region_lat | |
region_lng | |
date | |
process_type | |
run_accessions | |
(ART_resistant) | |
(CQ_resistant) | |
(PYR_resistant) | |
(SDX_resistant) | |
(MQ_resistant) | |
studies | |
AS EXISITING | |
study_people | |
AS EXISITING | |
study_publications | |
AS EXISITING | |
variants | |
AS EXISTING (but with added allele freqs when we get them) |
CREATE VIEW observatory.featuretypes_view AS
SELECT ft.feature_id
, ft.type_id
, ft.description
FROM observatory.featuretypes ft
;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do we need for
featuretypes
? I can set that up on the dev1 system too, if you like.