You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue occurs when a specimen has multiple samples of multiple sample types (see example datasets)
dashboard miscounts one sample type for another, see following examples:
data1 (undercount of DNA, overcount of RNA)
data2 (undercount of RNA, overcount of DNA)
a theory: the first record for the specimen that appears determines what sample type overcount will be e.g. in data2, the first record is DNA resulting in overcounting all records as DNA
Test datasets used:
Data1
program_id submitter_donor_id gender submitter_specimen_id specimen_tissue_source tumour_normal_designation specimen_type submitter_sample_id sample_type
TEST-CA JVV020 Female JVV020-N Solid tissue Normal Normal JVV020-N-L1-FTHW739 Amplified DNA
TEST-CA JVV020 Female JVV020T Solid tissue Tumour Primary tumour JVV020T-L2-CWFC429 Total RNA
TEST-CA JVV020 Female JVV020T Solid tissue Tumour Primary tumour JVV020T-L1-KIFH238 Amplified DNA
Data2
program_id submitter_donor_id gender submitter_specimen_id specimen_tissue_source tumour_normal_designation specimen_type submitter_sample_id sample_type
TEST-INTL ANON-DONOR1 Female DONOR1-SPECIMEN1 Solid tissue Normal Normal SPECIMEN1-SAMPLE1-DNA1 Amplified DNA
TEST-INTL ANON-DONOR1 Female DONOR1-SPECIMEN1 Solid tissue Normal Normal SPECIMEN1-SAMPLE2-RNA1 Total RNA
TEST-INTL ANON-DONOR1 Female DONOR1-SPECIMEN2 Solid tissue Tumour Primary tumour SPECIMEN2-SAMPLE3-DNA1 Amplified DNA
TEST-INTL ANON-DONOR1 Female DONOR1-SPECIMEN2 Solid tissue Tumour Primary tumour SPECIMEN2-SAMPLE4-DNA2 Amplified DNA
TEST-INTL ANON-DONOR1 Female DONOR1-SPECIMEN2 Solid tissue Tumour Primary tumour SPECIMEN2-SAMPLE5-DNA3 Amplified DNA
TEST-INTL ANON-DONOR1 Female DONOR1-SPECIMEN2 Solid tissue Tumour Primary tumour SPECIMEN2-SAMPLE6-RNA1 Total RNA
TEST-INTL ANON-DONOR1 Female DONOR1-SPECIMEN2 Solid tissue Tumour Primary tumour SPECIMEN2-SAMPLE7-RNA2 Total RNA
Describe the bug
The following query is returned when using the dashboard:
Note 2 RNA and 1 DNA
But what is registered is the opposite:
![image](https://private-user-images.githubusercontent.com/22638361/390150404-92306aa8-fa7c-47d2-aa01-9454e177018a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Nzk4NzMsIm5iZiI6MTczOTY3OTU3MywicGF0aCI6Ii8yMjYzODM2MS8zOTAxNTA0MDQtOTIzMDZhYTgtZmE3Yy00N2QyLWFhMDEtOTQ1NGUxNzcwMThhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDA0MTkzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNiYzY1YmQ0MmU2YjE0NzQ0ZDllZDM1NjMxNTU5MTA5OTQ2YTc0N2ZjZjgzYmRkOTMyMmVhMGEwZTY1OGVmNzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1pahzxzHcPNGtY_XrFklDfTjNvwVbX_Wm_KB9HGG_Ps)
Incorrect status will eventually block data from being released.
Steps To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Results should be 1 RNA and 2 DNA
Additional notes
The text was updated successfully, but these errors were encountered: