Add support for non- Cell Ranger SAM tags #48
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cell Ranger uses
CB
SAM tags for the cell barcode andUB
SAM tags for the UMI but other scRNA-seq pipelines use different tags (e.g.XC
andXM
).This commit introduces the
CELL_TAG
andUMI_TAG
environment variables to override the Cell Ranger style defaults.Note: For Demuxalot, this requires upstream changes
suggested in the following PR: arogozhnikov/demuxalot#26introduced inv.0.4.1
. Therefore, itnot onlydoesitdependon that one to be merged (which should happen 'soon'), but alsoon updating the Demuxalot version bundled in the Demuxafy Singularity Image to one including those upstream changes (>= v.0.4.1
).Thus, this PR must not be merged before #46 (or, IMHO better: #47) is merged as well.@drneavin: Merging this and releasing a new version would enable me to use Demuxafy on a lot of data we already have analysed without having to re-analyse them all from scratch with Cell Ranger. I have tested those changes locally using the (reduced) test dataset as well as one of my non- Cell Ranger datasets.