why do I get this error while reading single cell RNA seq data in R
1
0
Entering edit mode
2 days ago
nuorain ▴ 30

Hi, I got this error. Why? I appreciate your help. Thank you very much.

Error in Read10X(data.dir = data_dir) : 
  Barcode file missing. Expecting barcodes.tsv.gz

list.files(data_dir)
 [1] "GSM5004180_PT1_barcodes.tsv.gz" "GSM5004180_PT1_features.tsv.gz"
 [3] "GSM5004180_PT1_matrix.mtx.gz"   "GSM5004181_PT2_barcodes.tsv.gz"

cyto<- Read10X(data.dir = data_dir) 
Error in Read10X(data.dir = data_dir) : 
  Barcode file missing. Expecting barcodes.tsv.gz
scRNA-seq • 267 views
ADD COMMENT
0
Entering edit mode

It is often useful to do a quick search with the error. Here is one of the first search results that explains the issue: https://github.com/satijalab/seurat/issues/1625 . YOu also have more than one sample in this folder.

ADD REPLY
2
Entering edit mode
1 day ago
ATpoint 85k

What GenoMax links. These functions assume that files are called matrix.mtx.gt, barcodes.tsv.gz and genes.tsv.gz. That means, with multiple samples you need to create separate folders, with one set of files each.

ADD COMMENT

Login before adding your answer.

Traffic: 1122 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6