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.

read_10x_mtx with different prefix

See original GitHub issue

Hi scanpy team,

I am not sure if I just missed it, but there does not seem to be a way to specify a different filename for .mtx files. For instance, assuming I have multiple .mtx files in a folder sample1.matrix.mtx, sample2.matrix.mtx ... with corresponding sample1.genes.tsv and sample1.barcodes.tsv. It would be useful to be able either specify matrix/genes/barcodes filename, etc. and/or a suffix for the files.

Thanks in advance, Alex

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flying-sheepcommented, Nov 8, 2019

OK, let’s do this.

0reactions
annashch-insitrocommented, May 19, 2022

Are there plans to incorporate this feature? Would be very helpful to specify the filenames to read in – a lot of GEO data doesn’t follow the expected format.

Read more comments on GitHub >

github_iconTop Results From Across the Web

read_10x_mtx with different prefix · Issue #882 · scverse/scanpy
Hi scanpy team, I am not sure if I just missed it, but there does not seem to be a way to specify...
Read more >
scanpy.read_10x_mtx — Scanpy 1.9.1 documentation
Only keep 'Gene Expression' data and ignore other feature types, e.g. 'Antibody Capture', ... Any prefix before matrix.mtx , genes.tsv and barcodes.tsv ....
Read more >
Correct format for genes/features.tsv read_10x_mtx - Scanpy
My features.tsv is only one column so a line like this: genes = pd.read_csv(path / f'{prefix}genes.tsv', header=None, sep='\t') if var_names ...
Read more >
Read & Write Data Functions • scCustomize
sample_names By default Read10X_GEO names each entry in the returned list (see below) using the file name prefix. If different names are desired ......
Read more >
Load in data from 10X — Read10X • Seurat - Satija Lab
tsv files provided by 10X. A vector or named vector can be given in order to load several data directories. If a named...
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