DropletUtils::swappedDrops - Kallisto instead of CellRanger?
1
0
Entering edit mode
mhalache • 0
@e91d524f
Last seen 18 months ago
United Kingdom

Dear all,

Is there a way to use swappedDrops on Kallisto output, rather than CellRanger's?

Kind regards, Mike

DropletUtils • 766 views
ADD COMMENT
0
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen 19 hours ago
The city by the bay

I don't know much about Kallisto's output format, but if you can manage to extract the relevant pieces of per-molecule information and load them as lists, you can run removeSwappedDrops(). The documentation for the function will describe this in more detail, but the general idea is to create lists of vectors where each vector corresponds to a sample and each element of the vector corresponds to an individual transcript molecule. So you'll have one list of vectors for the gene ID, another list for the read counts, another list for the cell barcodes, and so on.

Probably the trickiest bit is the list for UMIs; each UMI is represented as a 2-bit encoded integer rather than a string. The exact encoding doesn't matter as long as two molecules will only have the same UMI value iff they have the same UMI sequence. Check out ?encodeSequences for more details, but you don't have to follow that specific scheme.

ADD COMMENT

Login before adding your answer.

Traffic: 642 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