Hello, I am trying to split my 10X output to one bam file per cell for some downstream analysis.
I guess one way to do it is by listing every cell barcode in a tsv file and run:
subset-bam -b /usersdata/user/GW15_Trachea/GW15-Trachea/outs/possorted_genome_bam.bam -c barcode1.tsv -o /usersdata/user/GW15_Trachea/GW15-Trachea/outs/barcode1.bam subset-bam -b /usersdata/user/GW15_Trachea/GW15-Trachea/outs/possorted_genome_bam.bam -c barcode2.tsv -o /usersdata/user/GW15_Trachea/GW15-Trachea/outs/barcode2.bam ......
Until I get my three thousand bam files for three thousand cells.
However, I wonder if there are faster ways of doing this?
Thank you!
Hello, I am trying to split my 10X output to one bam file per cell for some downstream analysis.
I guess one way to do it is by listing every cell barcode in a tsv file and run:
subset-bam -b /usersdata/user/GW15_Trachea/GW15-Trachea/outs/possorted_genome_bam.bam -c barcode1.tsv -o /usersdata/user/GW15_Trachea/GW15-Trachea/outs/barcode1.bam subset-bam -b /usersdata/user/GW15_Trachea/GW15-Trachea/outs/possorted_genome_bam.bam -c barcode2.tsv -o /usersdata/user/GW15_Trachea/GW15-Trachea/outs/barcode2.bam ......Until I get my three thousand bam files for three thousand cells.
However, I wonder if there are faster ways of doing this?
Thank you!