cellannotation / cas-tools

Cell Annotation Schema Tools
1 stars 0 forks source link

Redundant CL annotations remove bug #59

Closed hkir-dev closed 3 months ago

hkir-dev commented 3 months ago

There seems to be a bug in redundant CL annotation removal.

Example dataset:

Original data:

cell_label parent_cell_set_name cell_ontology_term_id
Vip_2 Vip CL:4023016
Vip inhibitory CL:4023016
inhibitory None CL:4023011

When AnnData to CAS run, only inhibitory has CL annotations, while Vip should have an annotation as well.

cell_label parent_cell_set_name cell_ontology_term_id
Vip_2 Vip None
Vip inhibitory None
inhibitory None CL:4023011