ultimatesource / denovogear

A program to detect denovo-variants using next-generation sequencing data.
http://www.nature.com/nmeth/journal/v10/n10/full/nmeth.2611.html
GNU General Public License v3.0
49 stars 25 forks source link

Fix memory leak related to BCFtools functions #251

Closed jgarciamesa closed 6 years ago

jgarciamesa commented 6 years ago

Added functions to wrap around BCFtools bcf_get_* type functions to prevent memory leakage. Added check on bcf2_qcall function to ensure no segmentation fault when mapping ALT and REF values from BCF/VCF file.