Skip to content

Commit

Permalink
Fixes to NIH tables (#1998)
Browse files Browse the repository at this point in the history
* Small changes after iterating correctness with the client
* New version of instructions file
  • Loading branch information
leandroradusky committed Dec 11, 2023
1 parent 36a4a89 commit ea1f412
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 23 deletions.
12 changes: 2 additions & 10 deletions app/views/nih_tables/nih_challenge.csv.csvbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ csv << [
'true_negatives',
'false_negatives',
'non_clinical_sensitivity',
'non_clinical_sensitivity_ci_percent',
'non_clinical_sensitivity_ci_min',
'non_clinical_specificity',
'non_clinical_specificity_ci_percent',
'non_clinical_specificity_ci_min',
'area_under_the_roc_curve',
'roc_x_values',
'roc_y_values'
Expand All @@ -30,8 +26,8 @@ csv << [
nil,
@target_box.uuid,
"#{@target_box.purpose}-panel",
'inactivated virus',
'SARS-CoV-2',
@target_sample.original_batch.virus_sample_type,
@target_sample.original_batch.target_organism_name,
@target_sample.original_batch.target_organism_taxonomy_id,
@target_sample.original_batch.pango_lineage,
@target_sample.original_batch.who_label,
Expand All @@ -42,11 +38,7 @@ csv << [
params[:true_negatives],
params[:false_negatives],
params[:sensitivity],
nil,
nil,
params[:specificity],
nil,
nil,
params[:auc],
params[:roc_x_values].to_s.gsub(",","|"),
params[:roc_y_values].to_s.gsub(",","|")
Expand Down
4 changes: 2 additions & 2 deletions app/views/nih_tables/nih_lod.csv.csvbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ csv << [
nil,
@target_box.uuid,
"#{@target_box.purpose}-panel",
'inactivated virus',
'SARS-CoV-2',
@target_sample.original_batch.virus_sample_type,
@target_sample.original_batch.target_organism_name,
@target_sample.original_batch.target_organism_taxonomy_id,
@target_sample.original_batch.pango_lineage,
@target_sample.original_batch.who_label,
Expand Down
4 changes: 2 additions & 2 deletions app/views/nih_tables/nih_samples.csv.csvbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ csv << [
sample.original_batch.reference_gene,
sample.uuid,
sample.batch_number,
'inactivated virus',
'SARS-CoV-2',
@target_sample.original_batch.virus_sample_type,
sample.original_batch.target_organism_name,
sample.original_batch.target_organism_taxonomy_id,
sample.original_batch.pango_lineage,
sample.original_batch.who_label,
Expand Down
21 changes: 12 additions & 9 deletions public/templates/Instructions.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This compressed file contains three tables containing data elements for the RADx-rad Data Hub. The tables
This compressed file contains four tables containing data elements for the RADx-rad Data Hub. The tables
contain pre-filled data based on the information available to the CDx LIMS system. The tables are provided
to the user to fill in the missing information. Please note that you need to maintain the same format as
the one provided in the tables (CSV file format, with identical columns and rows).
Expand All @@ -8,20 +8,23 @@ The three provided tables are as follows:
1. <report_name>_samples.csv
2. <report_name>_samples_results.csv
3. <report_name>_<purpose>.csv
3. <report_name>_batches.csv

The first table contains one row per sample with general information about each sample.

The second table contains one row per sample result, providing information about the results obtained for
each sample by the user, including the readout, measurement units, used technology, etc.

The third table contains one row per panel and provides information about the aggregated results obtained
after the tests were performed. The <purpose> can be either "LOD" or "Challenge" depending on the type of
test performed.
after the tests were performed. The <purpose> can be either "LOD", "Challenge" or "Variants" depending on the
type of panel used.

Once the developer completes the missing data, these files are ready to be submitted to the RADx-rad
Data Core (https://www.radxrad.org/) for quality assurance. For more information, please contact
Dr. Peter Rose ([email protected]). The Data Core administrator will review the data for completeness
and consistency and will reach out to the developer if any issues arise.
The fourth table contains one row per batch included in the panel and provides information about these
batches: features describing the virus features as its lineage, reference gene taken into account to measure
concentration, etc.

After the data passes the quality check, the Data Core administrator uploads the data files, common data
element dictionaries, and metadata files to the NIH COVID RADx-rad Data Hub (https://radx-hub.nih.gov/).
Please reach out to Dr. Peter Rose at [email protected] once you have obtained the necessary files.
Dr. Rose will assist you in incorporating technology metadata, generating the dictionary file, and thoroughly
assessing your files for completeness and consistency. Upon successful completion of this review, submit the
files to the RADx-rad Data Core. For questions related to the data submission process, please contact
Pritham Ram at [email protected].

0 comments on commit ea1f412

Please sign in to comment.