Issues importing STARsolo’s output into Seurat

Hello everyone,

I have issues importing the filtered matrix files of STARsolo output to use with Seurat.

I have tried multiple ways like:

Drosophila.data <- ReadMtx(mtx ="~/genome/matrix/matrix.mtx", cells="~/genome/matrix/barcodes.tsv", features="~/genome/matrix/features.tsv")

and

Drosophila.data <- ReadSTARsolo(data.dir ="~/genome/matrix/)

But both give me the following error:

Error: Matrix has 13968 rows but found 12507 features. 
In addition: Warning messages:
1: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec,  :
  EOF within quoted string
2: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec,  :
  number of items read is not a multiple of the number of columns

The features file looks ok to me as it has exactly 13968 rows.

I am not sure how to tackle this problem and even tried rerunning STARsolo but that did not help. Any help would be appreciated!

Read more here: Source link