Skip to content

Commit

Permalink
Merge 797fe02 into d213820
Browse files Browse the repository at this point in the history
  • Loading branch information
fnothaft authored Dec 16, 2017
2 parents d213820 + 797fe02 commit 4ffad35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ADAMBAMOutputFormat[K]
readSAMHeaderFrom(path, conf)

// now that we have the header set, we need to make a record reader
return new KeyIgnoringBAMRecordWriter[K](getDefaultWorkFile(context, ""),
return new KeyIgnoringBAMRecordWriter[K](getDefaultWorkFile(context, ".bam"),
header,
true,
context)
Expand Down Expand Up @@ -84,7 +84,7 @@ class ADAMBAMOutputFormatHeaderLess[K]
readSAMHeaderFrom(path, conf)

// now that we have the header set, we need to make a record reader
return new KeyIgnoringBAMRecordWriter[K](getDefaultWorkFile(context, ""),
return new KeyIgnoringBAMRecordWriter[K](getDefaultWorkFile(context, ".bam"),
header,
false,
context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ADAMCRAMOutputFormat[K]
readSAMHeaderFrom(path, conf)

// now that we have the header set, we need to make a record reader
return new KeyIgnoringCRAMRecordWriter[K](getDefaultWorkFile(context, ""),
return new KeyIgnoringCRAMRecordWriter[K](getDefaultWorkFile(context, ".cram"),
header,
true,
context)
Expand Down Expand Up @@ -84,7 +84,7 @@ class ADAMCRAMOutputFormatHeaderLess[K]
readSAMHeaderFrom(path, conf)

// now that we have the header set, we need to make a record reader
return new KeyIgnoringCRAMRecordWriter[K](getDefaultWorkFile(context, ""),
return new KeyIgnoringCRAMRecordWriter[K](getDefaultWorkFile(context, ".cram"),
header,
false,
context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ADAMSAMOutputFormat[K]
readSAMHeaderFrom(path, conf)

// now that we have the header set, we need to make a record reader
return new KeyIgnoringSAMRecordWriter(getDefaultWorkFile(context, ""),
return new KeyIgnoringSAMRecordWriter(getDefaultWorkFile(context, ".sam"),
header,
true,
context)
Expand All @@ -71,7 +71,7 @@ class ADAMSAMOutputFormatHeaderLess[K]
readSAMHeaderFrom(path, conf)

// now that we have the header set, we need to make a record reader
return new KeyIgnoringSAMRecordWriter(getDefaultWorkFile(context, ""),
return new KeyIgnoringSAMRecordWriter(getDefaultWorkFile(context, ".sam"),
header,
false,
context)
Expand Down

0 comments on commit 4ffad35

Please sign in to comment.