Skip to content

Why subset-bam is not efficient for splitting BAM file based on barcodes #15

@kulansam

Description

@kulansam

Hi,

Thanks for developing a subset-bam software. I would like to split the BAM file (from cell ranger) for each individual cell barcode, which is provided in the filtered_feature matrix folder (barcode.tsv). I have used the following comment in for loop of my code, but it takes more than 6 days for around 4000K cells in multi-threading.

subset-bam_linux --bam filtered_barcodes_sorted.bam --cell-barcodes $line.tsv --cores 15 --out-bam ./filter_cell_individual_bam/$line.bam

Is there any way to speed up this process?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions