gatk-3.8/public/java/src/org/broadinstitute/sting/utils/sam
Mauricio Carneiro ec475a46b1 Fixing @PG tag uniqueness issue
The Problem:
------------
the SAM spec does not allow multiple @PG tags with the same id. Our @PG tag writing routines were allowing that to happen with the boolean parameter "keep_all_pg_records".

How this fixes it:
------------------
This commit removes that option from all the utility functions and cleans up the code around the classes that used these methods off-spec.

Summarized changes:
-------------------
* Remove keep_all_pg_records option from setupWriter utility methos in Util
* Update all walkers to now replace the last @PG tag of the same walker (if it already exists)
* Cleanup NWaySamFileWriter now that it doesn't need to keep track of the keep_all_pg_records variable
* Simplify the multiple implementations to setupWriter

Bamboo:
-------
http://gsabamboo.broadinstitute.org/browse/GSAUNSTABLE-PARALLEL31

Issue Tracker:
--------------
[fixes 47100885]
2013-03-30 20:31:33 -04:00
..
AlignmentStartComparator.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
AlignmentStartWithNoTiesComparator.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
AlignmentUtils.java AlignmentUtils.calcNumDifferentBases computes the number of bases that differ between a reference and read sequence given a cigar between the two. 2013-03-20 22:54:35 -04:00
ArtificialBAMBuilder.java Optimize creation of reads in ArtificialBAMBuilder 2013-01-23 13:46:00 -05:00
ArtificialMultiSampleReadStream.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialPatternedSAMIterator.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialReadsTraversal.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialSAMFileReader.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialSAMIterator.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialSAMQueryIterator.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialSAMUtils.java Fixed IndelRealigner reference length bug (GSA-774) 2013-02-19 16:00:36 -05:00
ArtificialSingleSampleReadStream.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialSingleSampleReadStreamAnalyzer.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ArtificialStingSAMFileWriter.java PrintReads writes a header when used with -BQSR 2013-02-14 22:19:14 -05:00
BySampleSAMFileWriter.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
GATKSAMReadGroupRecord.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
GATKSAMRecord.java Refactored the het (polyploid) consensus creation in ReduceReads. 2013-03-25 09:34:54 -04:00
GATKSamRecordFactory.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
MisencodedBaseQualityReadTransformer.java Need to reset the static counter before tests are run or else we won't be deterministic. 2013-02-05 10:41:46 -05:00
NWaySAMFileWriter.java Fixing @PG tag uniqueness issue 2013-03-30 20:31:33 -04:00
ReadUnclippedStartWithNoTiesComparator.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
ReadUtils.java Fixed reported bug in BQSR for RNA seq alignments with Ns. 2013-03-14 11:26:52 -04:00
SAMFileReaderBuilder.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
SimplifyingSAMFileWriter.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
package-info.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00