theislab / dca

Deep count autoencoder for denoising scRNA-seq data
Apache License 2.0
246 stars 72 forks source link

denoisesubset option error #34

Open EliseAld opened 4 years ago

EliseAld commented 4 years ago

Hello,

I tried to use the --denoisesubset option, using a .txt file of circa 100 genes. When I run dca on my data with the option, I get the following error

dca data_ready.csv results_DCA --denoisesubset genes.txt dca: Successfully preprocessed 20896 genes and 12945 cells. dca: Subset of 116 genes will be denoised. dca: Calculating reconstructions... f"Data matrix has wrong shape {value.shape}, " ValueError: Data matrix has wrong shape (12945, 116), need to be (12945, 20896).

Can you figure out what is the problem ? I guess that the denoised matrix includes only the denoised genes while the output should contain also all the other initial genes.

Thanks for the help, it will be highly appreciated !