Improve make_example runtime performance. From the profiler we saw that trim_cigar function takes an unproportionally large runtime. In particular deep_copy caused the slow down. Since PacBio reads are very long we should avoid copying the entire cigar. Instead we copy only the part of a cigar that we need.
Improve make_example runtime performance.
From the profiler we saw that trim_cigar function takes an unproportionally large runtime. In particular deep_copy caused the slow down. Since PacBio reads are very long we should avoid copying the entire cigar. Instead we copy only the part of a cigar that we need.

PiperOrigin-RevId: 336718035

google/deepvariant,google/deepvariant,google/deepvariant