Closed qiaochen closed 3 years ago
Hi qiaochen, thank you for your interest in Sanity. Sanity ignores the first commented lines (starting with %
), then it expects in the first non-commented line; total number of gene IDs, total number of cells IDs, total number of lines (see https://math.nist.gov/MatrixMarket/formats.html for more details on .mtx format). However, this error seems to indicate that Sanity did not recognize the input as a .mtx file. Is your input file extension .mtx
? Is is it decompressed?
Many thanks, Breda! Indeed, the problem lies in the .mtx file, which was not completely transferred due to an unsuccessful scp command.
Hello, thank you for releasing your work. I was trying to test your wonderful tool on 3k PBMC dataset. It was a .mtx matrix, and running Sanity encountered an error showing "not enough fields on line number 0". Is Sanity trying to read the headlines?