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

sort removing tags from @RG header #356

Closed
Kurt-Hetrick opened this issue Jul 20, 2018 · 1 comment
Closed

sort removing tags from @RG header #356

Kurt-Hetrick opened this issue Jul 20, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@Kurt-Hetrick
Copy link

Hello, when using sambamba sort on a bam file, i am finding that the PM tag for the RG header is being stripped out. I am using sambamba 0.6.7

bam file (brief particulars are that file is created with bwa mem 0.7.15 | samblaster | picard AddOrReplaceReadGroups | picard markduplicates {from querysort, v 2.17.0}) before sambamba sort

samtools view -H foo.dup.bam | grep ^@rg
@rg ID:foo LB:foo PL:ILLUMINA SM:foo PU:foo CN:foo DT:2017-12-10T00:00:00-0500 PG:foo PM:HiSeq2500_HighOutput

then after running sambamba sort, the PM tag has been removed.

/mnt/research/tools/LINUX/SAMBAMBA/sambamba_v0.6.7/sambamba sort -o bar.bam foo.dup.bam

khetric1@c6100-9> samtools view -H bar.bam | grep ^@rg
@rg ID:foo CN:CIDR DT:2017-12-10T00:00:00-0500 LB:foo PG:foo PL:ILLUMINA PU:foo SM:foo

I couldn't find this in open or closed issues.

Thanks in advance,

Kurt

@pjotrp
Copy link
Member

pjotrp commented Jul 24, 2018

Thanks for the report. I'll check it.

@pjotrp pjotrp self-assigned this Jul 24, 2018
@pjotrp pjotrp added the bug label Jul 24, 2018
@pjotrp pjotrp added this to the 0.6.8 milestone Jul 24, 2018
@pjotrp pjotrp modified the milestones: 0.6.8, Later Sep 10, 2018
pjotrp added a commit that referenced this issue Oct 3, 2018
Added some minor comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants