Skip to content

Commit

Permalink
Add indications_exome_equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
rernst committed Feb 13, 2024
1 parent ee4b19e commit 0c5ee77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clarity_epp/upload/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ def from_helix(lims, email_settings, input_file):
if udf_data['Dx Onderzoeksindicatie'] == 'DSD00' and udf_data['Dx Familie status'] == 'Kind':
udf_data['Dx Geslacht'] = 'Onbekend'

# Set 'Dx Exoomequivalent' for specific indications
if udf_data['Dx Onderzoeksindicatie'] in config.indications_exome_equivalent:
udf_data['Dx Exoomequivalent'] = config.indications_exome_equivalent[udf_data['Dx Onderzoeksindicatie']]

# Check 'Dx Familienummer' and correct
if '/' in udf_data['Dx Familienummer']:
udf_data['Dx Import warning'] = ';'.join([
Expand Down
3 changes: 3 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
stoftestcode_mip: '1651', # DEV Dx smMIP v1.2
}

# Update exome equivalent for certain indications
indications_exome_equivalent = {'UBA1': 5, 'PID09': 5}

# Export meetw protocol steps WES
meetw_zui_wes_processes = [
'Dx Sample registratie zuivering v1.1',
Expand Down

0 comments on commit 0c5ee77

Please sign in to comment.