-
Notifications
You must be signed in to change notification settings - Fork 487
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
Missing one sample in filtered samples (CH is 1 less) #11079
Comments
Missing sample is {
"uniqueSampleKey": "VENHQS1BTy1BMUtPLTAxOmJyY2FfdGNnYV9nZGM",
"uniquePatientKey": "VENHQS1BTy1BMUtPOmJyY2FfdGNnYV9nZGM",
"sampleId": "TCGA-AO-A1KO-01",
"patientId": "TCGA-AO-A1KO",
"studyId": "brca_tcga_gdc"
} |
The sample To verify run the SQL query below. SELECT
sp.sample_id as sampleInternalId,
sd.sample_stable_id as sampleStableId,
sd.sample_unique_id as sampleUniqueId,
gp.stable_id as geneticProfile
FROM cgds_public_v5.sample_profile sp
JOIN cgds_public_v5.sample_derived sd on sp.sample_id=sd.internal_id
JOIN cgds_public_v5.genetic_profile gp on sp.genetic_profile_id=gp.genetic_profile_id
WHERE sd.sample_stable_id='TCGA-AO-A1KO-01' AND sd.cancer_study_identifier='brca_tcga_gdc' Clickhouse SQL implementation is applying cbioportal/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml Lines 36 to 58 in 8526c72
Legacy SQL might be applying |
Actually, legacy implementation is also applying cbioportal/src/main/java/org/cbioportal/web/util/StudyViewFilterApplier.java Lines 332 to 338 in f7d91c0
And according to the gene panel the sample |
@onursumer i don't really understand how gene panel can be used because, unless i'm totally mistaken, there is no relation from gene panel to sample. gene panel only says what genes are profiled by a given genetic_profile? so i guess the question is, how is the above genePanelData derived? |
cbioportal/src/main/java/org/cbioportal/web/util/StudyViewFilterApplier.java Lines 332 to 335 in f7d91c0
Here we get the sample id from gene panel datum by
|
The text was updated successfully, but these errors were encountered: