Merge pull request #689 from broadinstitute/eb_fix_samrecord_test_constructor
The copy constructor for a GATKSAMRecord (used for testing only) should ...
This commit is contained in:
commit
43bd6b4436
|
|
@ -92,7 +92,8 @@ public class GATKSAMRecord extends BAMRecord implements Cloneable {
|
||||||
* @param read
|
* @param read
|
||||||
*/
|
*/
|
||||||
public GATKSAMRecord(final SAMRecord read) {
|
public GATKSAMRecord(final SAMRecord read) {
|
||||||
super(read.getHeader(), read.getMateReferenceIndex(),
|
super(read.getHeader(),
|
||||||
|
read.getReferenceIndex(),
|
||||||
read.getAlignmentStart(),
|
read.getAlignmentStart(),
|
||||||
read.getReadName() != null ? (short)read.getReadNameLength() : 0,
|
read.getReadName() != null ? (short)read.getReadNameLength() : 0,
|
||||||
(short)read.getMappingQuality(),
|
(short)read.getMappingQuality(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue