Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write cell ids into barcodes.tsv in the mtx output #428

Open
mckinsel opened this issue Nov 19, 2019 · 2 comments
Open

Write cell ids into barcodes.tsv in the mtx output #428

mckinsel opened this issue Nov 19, 2019 · 2 comments
Assignees

Comments

@mckinsel
Copy link
Contributor

barcodes.tsv is there for compatibility with Read10X methods. But we output data with no barcodes, and there may be duplicate barcodes in one output file. So instead of writing the barcode, write the cellkey, which always exists and is unique for every cell.

@mtmorgan
Copy link

mtmorgan commented Nov 19, 2019

If you're moving from emulating 10x, then perhaps just produce cells.tsv? for instance cells.tsv in https://data.humancellatlas.org/project-assets/project-matrices/cddab57b-6868-4be4-806f-395ed9dd635a.mtx.zip has both a 'cellkey' and 'barcode' column, where the barcode column is already empty (and the barcode.tsv file has blank lines!)

@mckinsel
Copy link
Contributor Author

Hey @mtmorgan , we actually moving to emulating 10x outputs. We have users who want to get an mtx directory from the DCP and read it with, say, the Read10X function in Seurat. We used to only have cells.tsv but need to add barcodes if the existing methods are going to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants