Search in sources :

Example 1 with ReadClipper

use of org.broadinstitute.hellbender.utils.clipping.ReadClipper in project gatk by broadinstitute.

the class BaseRecalibrationEngine method makeReadTransform.

private ReadTransformer makeReadTransform() {
    ReadTransformer f0 = BaseRecalibrationEngine::consolidateCigar;
    ReadTransformer f = f0.andThen(this::setDefaultBaseQualities).andThen(this::resetOriginalBaseQualities).andThen(ReadClipper::hardClipAdaptorSequence).andThen(ReadClipper::hardClipSoftClippedBases);
    return f;
}
Also used : ReadClipper(org.broadinstitute.hellbender.utils.clipping.ReadClipper) ReadTransformer(org.broadinstitute.hellbender.transformers.ReadTransformer)

Aggregations

ReadTransformer (org.broadinstitute.hellbender.transformers.ReadTransformer)1 ReadClipper (org.broadinstitute.hellbender.utils.clipping.ReadClipper)1