This is a test version of Biostars. For the public version, visit https://www.biostars.org.
mat2csv IOError: Not a valid path to a feature-barcode mtx directory: '/home/li/tmp'

Hello, Everyone,

I tried to use mat2csv convert matrix to csv format.

Thanks in advance for any help!

Best,

Yue

li@li-HP90-p0xxx:~/opt/cellranger-3.1.0$ cellranger mat2csv ~/tmp samples12
/home/li/opt/cellranger-3.1.0/cellranger-cs/3.1.0/bin
cellranger mat2csv (3.1.0)


Traceback (most recent call last):
File "/home/li/opt/cellranger-3.1.0/cellranger-cs/3.1.0/bin/mat2csv", line 79, in <module>
main()
File "/home/li/opt/cellranger-3.1.0/cellranger-cs/3.1.0/bin/mat2csv", line 48, in main
gbm = CountMatrix.load_mtx(input_path)
File "/home/li/opt/cellranger-3.1.0/cellranger-cs/3.1.0/lib/python/cellranger/matrix.py", line 361, in load_mtx
raise IOError("Not a valid path to a feature-barcode mtx directory: '%s'" % str(mtx_dir))
IOError: Not a valid path to a feature-barcode mtx directory: '/home/li/tmp'
rna-seq

1 answer

should have a gene.tsv file

Log in to answer this question.