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

How to run barcodeSwapping and ChimericReads with no h5 info? #70

Open
mortunco opened this issue Sep 1, 2021 · 1 comment
Open

How to run barcodeSwapping and ChimericReads with no h5 info? #70

mortunco opened this issue Sep 1, 2021 · 1 comment

Comments

@mortunco
Copy link

mortunco commented Sep 1, 2021

Hi,

First of all thank you for coming up with such a critical procedure that would effect almost all single cell study.

Background:
We implemented 10x to our in-house method that gives read out as RNAs to make "single cell" version of our method. Because our method contains couple additional multiplexing steps and mainly based on non-coding regions we simply couldn't implement cell-ranger standardized method pipeline.

Problem:
Please see the sample dataframe below. We observe same moleculer UMIs from the barcode(droplet) are pointing different transcript fragments which doesnt make sense. Instead of some arbitrary filtration, i think this problem is similar to problems in "Removing Swapping Events" section. But I see that most of your tools are built to process standard cell-ranger output (barcode, gene, matrix.mtx or h5) which makes becomes a little problematic for us.

Attempt:
We successfully generated a dataframe like below. rindex and cindex are similar to transcript~ gene info. We were able to create barcode, gene tsvs and matrix.mtx files. Using these I created sce object with read10xCounts. Droputils allows me to run empty drops but for Swapping i need mol.info, but i dont know how to convert my data into h5 format.

cellb	molb tindex	n
AAAAAAGGTATGGTTC	TAAATCAAAAAA	A	5
AAAAAAGGTATGGTTC	TATCTCAAAGAA	B	10
AAAAAAGGTATGGTTC	TCACTCAAAGAA	C	1

Question:
Pretty much, I would be glad to hear any ideas about problem or h5 conversion.

Thank you very much for your time,

Tunc.

@LTLA
Copy link
Collaborator

LTLA commented Sep 3, 2021

For barcode swapping: the swappedDrops just loads the data from the molinfo file and then calls removeSwappedDrops. The latter function doesn't care where the data comes from, so you can just call it directly with your data. The same idea applies with chimericDrops, which just calls removeChimericDrops.

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

2 participants