Hi Simpleaf team,
Maybe I am misunderstanding something here, but it seems that min-reads is not actually filtering cells. For example, running a sample with the following config:
simpleaf quant --index GRCH38 \
-1 r1.fastq.gz \
-2 r2.fastq.gz \
--threads 8 \
-c 10xv2-5p \
-o test_sample \
-m GRCH38/ref/t2g_3col.tsv \
-r parsimony-em \
--anndata-out \
-u --min-reads 10
However, when I open the resultant anndata file, there are cells with 0 counts. Confirmed using the following:
import scanpy as sc
adat = sc.read_h5ad("quants.h5ad")
adat.X.sum(axis=1).min()
outputs np.float64(0.0)
Looking at the docs, this iterates over mapped reads and selects barcodes occurring at least 10 times. Shouldn't this retain cells with at least one count, given the barcode is mapped?
Hi Simpleaf team,
Maybe I am misunderstanding something here, but it seems that min-reads is not actually filtering cells. For example, running a sample with the following config:
However, when I open the resultant anndata file, there are cells with 0 counts. Confirmed using the following:
outputs np.float64(0.0)
Looking at the docs, this iterates over mapped reads and selects barcodes occurring at least 10 times. Shouldn't this retain cells with at least one count, given the barcode is mapped?