Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #115 from googlegenomics/calbach-patch-1
Browse files Browse the repository at this point in the history
Don't set the RG tag using read.getReadGroupId()
  • Loading branch information
calbach committed Apr 19, 2017
2 parents 2429242 + c291da9 commit 8dce1a3
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,6 @@ public static final SAMRecord makeSAMRecord(Read read, SAMFileHeader header) {
if (read.getFragmentName() != null) {
record.setReadName(read.getFragmentName());
}
if (read.getReadGroupId() != null && !read.getReadGroupId().isEmpty()) {
record.setAttribute("RG" ,read.getReadGroupId());
}
// Set flags, as advised in http://google-genomics.readthedocs.org/en/latest/migrating_tips.html
int flags = getFlags(read);
record.setFlags(flags);
Expand Down

0 comments on commit 8dce1a3

Please sign in to comment.