question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not locate the barcodes.tsv file

See original GitHub issue

I just installed velocyto, and want to run velocyto run10x -m repeat_msk.gtf mypath/sample01 somepath/refdata-cellranger-mm10-1.2.0/genes/genes.gtf according to tutorial.

My code is velocyto run10x /Cell_Ranger_Processed_Data/GTE001/out/filtered_feature_bc_matrix /Cell_Ranger/opt/refdata-cellranger-hg19-3.0.0/genes/genes.gtf

However, I got the error:

2020-02-26 13:10:05,451 - ERROR - This is an older version of cellranger, cannot check if the output are ready, make sure of this yourself
2020-02-26 13:10:05,451 - ERROR - Can not locate the barcodes.tsv file!
Traceback (most recent call last):
  File "/public-supool/home/wuhaoda/anaconda2/envs/Grim3.6.8/bin/velocyto", line 8, in <module>
    sys.exit(cli())
  File "/public-supool/home/wuhaoda/anaconda2/envs/Grim3.6.8/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/public-supool/home/wuhaoda/anaconda2/envs/Grim3.6.8/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/public-supool/home/wuhaoda/anaconda2/envs/Grim3.6.8/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/public-supool/home/wuhaoda/anaconda2/envs/Grim3.6.8/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/public-supool/home/wuhaoda/anaconda2/envs/Grim3.6.8/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/public-supool/home/wuhaoda/anaconda2/envs/Grim3.6.8/lib/python3.6/site-packages/velocyto/commands/run10x.py", line 91, in run10x
    bcfile = bcmatches[0]
IndexError: list index out of range

I updated Cellranger to the latest version (3.0.2 -> 3.1.0). And I unzip the “.gz” file. However, I got the same error. Should I run Cellranger one more time to get a new “out” file? Or any other solutions?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

5reactions
ggruenhagen3commented, Feb 1, 2021

For me the problem was I provided a subdirectory of the directory velocyto was expecting. velocyto expects samplefolder to be the one that contains ‘outs/filtered_feature_bc_matrix/barcodes.tsv.gz’. Also it only worked for me when barcodes.tsv.gz was zipped.

1reaction
SiyiWanggoucommented, Mar 10, 2020

Try velocyto run10x /Cell_Ranger_Processed_Data/GTE001 /Cell_Ranger/opt/refdata-cellranger-hg19-3.0.0/genes/genes.gtf

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with Read10X - barcode not found but the barcode is there
I'm loading the extracted P1 file found here and I got it fully loaded into R as shown below: > library(dplyr) Attaching package:...
Read more >
Chapter 6 Preprocessing of dataset | HKU Single-cell ...
In this tutorial, we would take the Pancreas dataset used in scVelo paper for example, show how to retrieve the fastq dataset from...
Read more >
Feature-Barcode Matrices -Software -Single Cell ... - Support
It contains gzipped TSV files with feature and barcode sequences corresponding to row and column indices respectively. For example, the matrices output may ......
Read more >
error on process_radtags - Google Groups
Unable to locate any input files to process within '. ... 2 - It point to my barcodes file, but I did it...
Read more >
Command Line Tool API — velocyto 0.17.16 documentation
Valid barcodes file, to filter the bam. If –bcfile is not specified all the cell barcodes will be included. Cell barcodes should be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found