-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from umccr/implement-tsa-schema-spreadsheet-li…
…brary-tracking-metadata Implemented OrcaVault tsa schema
- Loading branch information
Showing
6 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
SELECT current_database(); | ||
|
||
-- create tsa schema | ||
CREATE SCHEMA IF NOT EXISTS tsa AUTHORIZATION dev; | ||
SET search_path TO tsa; | ||
|
||
SELECT current_schema(); | ||
|
||
CREATE TABLE IF NOT EXISTS orcavault.tsa.spreadsheet_library_tracking_metadata | ||
( | ||
assay varchar, | ||
comments varchar, | ||
coverage varchar, | ||
experiment_id varchar, | ||
external_sample_id varchar, | ||
external_subject_id varchar, | ||
library_id varchar, | ||
override_cycles varchar, | ||
phenotype varchar, | ||
project_name varchar, | ||
project_owner varchar, | ||
qpcr_id varchar, | ||
quality varchar, | ||
run varchar, | ||
sample_id varchar, | ||
sample_name varchar, | ||
samplesheet_sample_id varchar, | ||
source varchar, | ||
subject_id varchar, | ||
truseq_index varchar, | ||
type varchar, | ||
workflow varchar, | ||
r_rna varchar, | ||
study varchar, | ||
sheet_name varchar | ||
); |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
|
||
sources: | ||
- name: tsa | ||
database: orcavault | ||
schema: tsa | ||
tables: | ||
- name: spreadsheet_library_tracking_metadata |