Translates full elevation/gap patterns across contigs/chunks 1000bp at a time. Translation stops when the elevation pattern is 5000bp from the end of the contig/chunk.
patternTranslator(contigCov, bestMatchInfo, windowSize, pattern, elevOrGap)
The read coverages that pertain to the pileupSubset
The information associated with the current best pattern-match for the contig/chunk being assessed.
The number of basepairs to average read coverage values over. Options are 100, 200, 500, 1000 ONLY. Default is 1000.
A vector containing the values associated with the pattern-match
Pattern-matching on 'elevation' or 'gap' pattern.