This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Separating a bam file into multiple bam files

How can I separate a bam file into multiple bam files such that each bam file contains information for one cell using UMI-tools?

bam scrna-seq umi-tools

1 answer

10x provides an unsupported tool for this: https://github.com/10XGenomics/subset-bam You will need a list of cell barcodes.

Thank you. I appreciate your help. I have not tried your answer yet because I found an R package, Sierra that seems to have a function for splitting a bam file into multiple bam files for every cell, "https://rdrr.io/github/VCCRI/Sierra/man/SplitBam.html". Have you ever tried this?

Log in to answer this question.