-
Notifications
You must be signed in to change notification settings - Fork 0
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
ST0005 As a TL I would like to verify the plates completed in the last week in the report matches a direct query against the MLWH. #393
Comments
@TWJW-SANGER What does "completed" mean here? e.g. is it the |
Ah, probably not. I think it is the run_status.date for run_status_dict.description='qc_complete'. |
Something like this: SELECT
sr.labware_human_barcode,
rsd.description,
rs.date
FROM iseq_flowcell AS fc
JOIN iseq_product_metrics AS pm ON (fc.id_iseq_flowcell_tmp=pm.id_iseq_flowcell_tmp)
JOIN iseq_run_status rs ON (pm.id_run=rs.id_run)
JOIN iseq_run_status_dict rsd ON (rs.id_run_status_dict=rsd.id_run_status_dict)
JOIN stock_resource sr ON (fc.id_sample_tmp=sr.id_sample_tmp)
WHERE rsd.description='qc complete'
AND rs.date >= '2024-05-27'
GROUP BY sr.labware_human_barcode |
Barcodes that seem to be missing from the view: |
Query looks good - except that I think it should be |
These barcodes: are missing from the view because their studies have not had the event |
Interesting... SQPP-53600-J
|
@TWJW-SANGER The |
@TWJW-SANGER After updates to the query, the only barcodes missing are |
As a TL I would like to verify the plates completed in the last week in the report matches a direct query against the MLWH.
Background
The query described on the confluence page Useful Queries for the Multi-LIMS Warehouse under Show me the runs, lanes and tag indexes for all the samples in a study and their status can be modified to get plates completed in the last week. Use this to validate the completed plates provided in the report.
The text was updated successfully, but these errors were encountered: