Skip to content

Commit

Permalink
Delete unused validate function
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalker174 committed Apr 3, 2020
1 parent a86f9d3 commit 74b08a0
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,6 @@ static JavaRDD<GATKRead> doBwaFilter(final JavaRDD<GATKRead> reads,
return reads.mapPartitions(itr -> (new PSBwaFilter(indexFileName, minIdentity, minSeedLength, numThreads, false)).apply(itr));
}

private static void validateIgnoredContigs(final List<String> contigs, final SAMSequenceDictionary dictionary) {
final Set<String> contigsToIgnoreSet = new HashSet<>();
for (final String contig : contigsToIgnoreSet) {
if (dictionary.getSequence(contig) == null) {
throw new UserException.MissingContigInSequenceDictionary(contig, dictionary);
}
}
}

/**
* Main PathSeq filtering method. See PathSeqFilterSpark for an overview.
* Returns a tuple containing the paired reads and unpaired reads as separate RDDs.
Expand Down

0 comments on commit 74b08a0

Please sign in to comment.