Changed code where variable used for getopt is then reused by later code for completely different purpose.
razf_read and razf_write are intended to replace system calls of read and write respectively and thus their method signature should match.
Tweak method definitions of knet_read and knet_write to better match system read and write.
Add const modifier to certain global constants.
Add static modifier to global constants where possible.
Convert #defines to const's where possible.
Delete unused constants
Be consistant about using float or double in errmod depcorr
Adjust position of fileret in _razf_read and ensure correct variable is returned.
Fix bgzf read and write prototypes to better match system ones, length is size_t not ssize_t
Cleanup and add comments to genotype calling code
Allow p to be varied in error model used to calculate phread likelihoods in genotypes.
Allow beta bionomial to be used in place of bionomial for error model.
Initial set of errmod tests for my sanity