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

Add option for sequencing centre in BAM file #6

Closed
ewels opened this issue Jul 12, 2018 · 2 comments
Closed

Add option for sequencing centre in BAM file #6

ewels opened this issue Jul 12, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ewels
Copy link
Member

ewels commented Jul 12, 2018

Moved from SciLifeLab#35


Bowtie 1

Output options:
--sam-RG <text>
Add <text> (usually of the form TAG:VAL, e.g. ID:IL7LANE2) as a field on the @RG header line. Specify --sam-RG multiple times to set multiple fields.
--sam-RG is ignored unless -S/--sam is also specified.

Bowtie2

SAM options: --rg <text>

Add <text> (usually of the form TAG:VAL, e.g. SM:Pool1) as a field on the @RG header line.

e.g.:

--rg CN:nameofourgroup
@ewels ewels added the enhancement New feature or request label Jul 12, 2018
@chuan-wang chuan-wang self-assigned this Aug 6, 2018
@jun-wan
Copy link

jun-wan commented Aug 7, 2018

SAMTools can add the read group tag in the BAM file:
samtools addreplacerg [options] [-r <@rg line> | -R ] [-o <output.bam>] <input.bam>

@jun-wan jun-wan self-assigned this Aug 7, 2018
@chuan-wang
Copy link
Contributor

Fixed in PR #9

apeltzer pushed a commit that referenced this issue May 21, 2019
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

3 participants