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: allow custom SM tag in the merged bam header #191

Open
sclan opened this issue May 15, 2019 · 0 comments
Open

feature request: allow custom SM tag in the merged bam header #191

sclan opened this issue May 15, 2019 · 0 comments

Comments

@sclan
Copy link

sclan commented May 15, 2019

For some tools (e.g. Sentieon bam_to_vcf), one unique SM tag is needed in the input bam mapping. However the merged bam file can have multiple @rg lines that contains several different SM tags which can't be used as input for those tools.

It would be useful to have an option for the bamtools merge command to allow users to customize the SM tag in the output bam header so it is identical across all @rg lines. It could be free text, or it could be a choice by choosing one from several existing SM tags from the input bam files.

I understand different read groups should have different SM tag to tell samples apart. But some samples do have the same SM tags from the same sample with different RG IDs if the sequencing was run on multiple lanes.

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

1 participant