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

creating snap files from another processing pipeline #16

Open
dawe opened this issue Sep 10, 2019 · 3 comments
Open

creating snap files from another processing pipeline #16

dawe opened this issue Sep 10, 2019 · 3 comments

Comments

@dawe
Copy link

dawe commented Sep 10, 2019

I would like to process my scATAC data with snaptools and snapatac but, for several reasons, the BAM files I have are in a format which is different from the one required by snaptools (i.e. the cell barcode is not in the read name and it's a RG tag instead). In my BAM files, reads are already deduplicated at cell level (that is, the BAM flag is properly set). I already have counts over binned genome (at 5kb) in a scipy sparse matrix. What would be the best way to convert my matrices into snap format?

@r3fang
Copy link
Owner

r3fang commented Sep 10, 2019 via email

@dawe
Copy link
Author

dawe commented Sep 11, 2019

Yes, I did that as it sounds the only way to go. Still I’d rather not use read-sorted bam (it wastes disk space and time in sorting, IMHO), my BAM files already have barcode names in their header and read groups, so the size of the resulting matrix is known from the start and reads are already D.E. duplicated at cell level.

@fairliereese
Copy link

Just commenting that this is how the new BioRad scATAC protocol works and it would be really great to see support for this in the future!

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

3 participants