Skip to content

Commit

Permalink
Remove SequenceDictionaryReader.
Browse files Browse the repository at this point in the history
  • Loading branch information
heuermh authored and fnothaft committed Jul 13, 2017
1 parent 560789a commit b026a94
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 105 deletions.
7 changes: 2 additions & 5 deletions src/main/scala/org/bdgenomics/cannoli/Bwa.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ import org.bdgenomics.adam.rdd.ADAMContext._
import org.bdgenomics.adam.rdd.ADAMSaveAnyArgs
import org.bdgenomics.adam.rdd.fragment.{ FragmentRDD, InterleavedFASTQInFormatter }
import org.bdgenomics.adam.rdd.read.{ AlignmentRecordRDD, AnySAMOutFormatter }
import org.bdgenomics.cannoli.util.{
QuerynameGrouper,
SequenceDictionaryReader
}
import org.bdgenomics.cannoli.util.QuerynameGrouper
import org.bdgenomics.formats.avro.AlignmentRecord
import org.bdgenomics.utils.cli._
import org.bdgenomics.utils.misc.Logging
Expand Down Expand Up @@ -199,7 +196,7 @@ class Bwa(protected val args: BwaArgs) extends BDGSparkCommand[BwaArgs] with Log
.replaceRecordGroups(RecordGroupDictionary(Seq(RecordGroup(sample, sample))))

val outputMaybeWithSequences = Option(args.sequenceDictionary).fold(output)(sdPath => {
val sequences = SequenceDictionaryReader(sdPath, sc)
val sequences = sc.loadSequenceDictionary(sdPath)
output.replaceSequences(sequences)
})

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit b026a94

Please sign in to comment.