covidcg icon indicating copy to clipboard operation
covidcg copied to clipboard

Strange (non-existing) location ID

Open babarlelephant opened this issue 3 years ago • 0 comments

Hi,

location_id : 1686 is non-existing, and it is referenced by 48 sequences. Same for 4159 (236 sequences). I don't know since when it is there.

Your script creating new location id may be buggy (1685 appearing two times, then skipping 1686), some location_id at parent level are repeated at child level, some are not, no idea why.

{"Accession ID": "EPI_ISL_2332789", "collection_date": "2021-05-24", "submission_date": "2021-05-29", "host": 0, "gender": 0, "age_start": 35.0, "age_end": 36.0, "patient_status": 4, "passage": 0, "specimen": 12, "lineage": "B.1.1.7", "clade": "GRY", "sequencing_tech": 14, "assembly_method": -1, "comment_type": 0, "authors": 7057, "originating_lab": 4690, "submitting_lab": 1408, "dna_snp_str": [0, 1, 2, 3, 4, 5, 7, 11, 12, 13, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 350, 369, 533, 636, 2408, 2411, 10069, 14070, 21896, 22637], "gene_aa_snp_str": [0, 1, 3, 5, 6, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 258, 279, 281, 404, 1804, 8018, 18044, 18045], "protein_aa_snp_str": [0, 1, 3, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 202, 216, 300, 1349, 1350, 5888, 13042], "location_id": 1686}

{ "label" : "\ud83c\udde7\ud83c\uddea Belgium", "value" : "Belgium", "region" : "Europe", "level" : "country", "location_id" : 1685, "actions" : [{ "className" : "fa fa-info", "title" : "18296 sequences", "text" : "(18.3K)" } ], "children" : [{ "label" : "'S Gravenwezel", "value" : "'S Gravenwezel", "region" : "Europe", "country" : "Belgium", "level" : "division", "location_id" : 1685, "actions" : [{ "className" : "fa fa-info", "title" : "11 sequences", "text" : "(11)" } ], "children" : [] }, { "label" : "Aalst", "value" : "Aalst", "region" : "Europe", "country" : "Belgium", "level" : "division", "location_id" : 1687, "actions" : [{ "className" : "fa fa-info", "title" : "11 sequences", "text" : "(11)" } ], "children" : [] },

Best Regards.

babarlelephant avatar May 31 '21 20:05 babarlelephant