magicDGS / ReadTools

A Universal Toolkit for Handling Sequence Data from Different Sequencing Platforms
https://magicdgs.github.io/ReadTools/
MIT License
6 stars 3 forks source link

Check usages of GATKRead defensive copy methods and substitute for performance improvement #461

Closed magicDGS closed 6 years ago

magicDGS commented 6 years ago

For example, CheckQualityReadTransformer makes always a defensive copy for the qualities, when it is not required because there is only an assertion and not change of qualities. This might reduce performance (concretely in the example case, it is performed quite often).