cancerit / cgpPindel

Cancer Genome Project Insertion/Deletion detection pipeline based around Pindel
http://cancerit.github.io/cgpPindel/
GNU Affero General Public License v3.0
28 stars 5 forks source link

I/O hardening - stub function #80

Closed keiranmraine closed 5 years ago

keiranmraine commented 5 years ago

Stub function that can be called to check file has no NUL characters and is of correct size.

Inputs: filename, size_bytes

Returns: undef or name of erroneous file (collate list of problem files before raising error).