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

[Feature request] Parsing gzipped file for --barcode-whitelist and --barcode-translation #51

Open
bli25 opened this issue Dec 23, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@bli25
Copy link

bli25 commented Dec 23, 2021

For 10x data, cellranger-atac/cellranger-arc make their whitelist in .tsv.gz format. It would be convenient if chromap can take gzipped file as input here (similar to fastq file).

Thanks for developing such a useful tool!

@mourisl
Copy link
Collaborator

mourisl commented Dec 23, 2021

For these files that only need to scan once, would command like
./chromap ... --barcode-whitelist <(zcat whitelist.tsv.gz) work on your platform?

@mourisl mourisl added the enhancement New feature or request label Dec 23, 2021
@bli25
Copy link
Author

bli25 commented Dec 23, 2021

Hi @mourisl , yes, it works. However, we are building workflows, which means we do not have control of what white list people will provide (either gzipped or not). We can take care of it at the workflow level (i.e. test if suffix is 'gz' and if so, gunzip). But I think it is more elegant if chromap can take care of this step because for FASTQ files, you already have support for both .fq and .fq.gz.

@mourisl
Copy link
Collaborator

mourisl commented Dec 7, 2022

Sorry for the delayed replay after almost one year, which I totally forgot to work on until another recent issue. We just added the feature to directly support gzipped whitelist file #127 . If your team is still interested in this feature, could you please give it a try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants