You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using --aligner cellranger the matrix files are not read correctly by ReadMtx but are read correctly by Read10X.
Command error:
Attaching SeuratObject
Error: Matrix has 13931 rows but found 12861 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
Execution halted
The 12861st feature is:
FBgn0025724 beta'COP Gene Expression
It looks like the read.table function used by ReadMtx causes the problem - only reading so far as this feature. The Read10X function uses read.delim which uses the string as-is. Maybe Read10X would be a more robust alternative, assuming all aligners output in the 10X format?
Description of the bug
When using
--aligner cellranger
the matrix files are not read correctly byReadMtx
but are read correctly byRead10X
.The 12861st feature is:
It looks like the
read.table
function used byReadMtx
causes the problem - only reading so far as this feature. TheRead10X
function usesread.delim
which uses the string as-is. MaybeRead10X
would be a more robust alternative, assuming all aligners output in the 10X format?Command used and terminal output
No response
Relevant files
No response
System information
The text was updated successfully, but these errors were encountered: