Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial ETL mapping #703

Merged
merged 1 commit into from
Sep 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions gen3qa.braincommons.org/etlMapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ mappings:
props:
- name: submitter_id
- name: project_id
- name: experimental_group
- name: gender
- name: race
- name: ethnicity
- name: age_at_enrollment
aggregated_props:
- name: _samples_count
path: samples
fn: count
- name: _aliquots_count
path: samples.aliquots
fn: count
- name: _read_group_count
path: samples.aliquots.read_groups
fn: count
- name: _submitted_expression_arrays_count
path: samples.aliquots.submitted_expression_array_files
fn: count
- name: _submitted_unaligned_reads_count
path: samples.aliquots.read_groups.submitted_unaligned_reads_files
fn: count
- name: veteran_status
path: visits.demographics
src: veteran_status
fn: set
- name: education_years
path: visits.demographics
src: education_years
fn: max
- name: age_at_onset
path: visits.diagnoses
src: age_at_onset
fn: min
joining_props:
- index: file
join_on: case_id
Expand Down