Added a new utils.c wrapper err_gzclose and changed gzclose calls to use it.
Put in some more err_fflush calls before files being written are closed.
Made err_fflush call fsync. This is useful for remote filesystems where
errors may not be reported on fflush or fclose as problems at the server
end may only be detected after they have returned. If bwa is being used
only to write to local filesystems, calling fsync is not really necessary.
To disable it, comment out #define FSYNC_ON_FLUSH in utils.c.
Released packages can be downloaded from SourceForge.net:
http://sourceforge.net/projects/bio-bwa/files/
Introduction and FAQ are available at:
http://bio-bwa.sourceforge.net
Manual page at:
http://bio-bwa.sourceforge.net/bwa.shtml
Mailing list:
bio-bwa-help@lists.sourceforge.net
To sign up:
http://sourceforge.net/mail/?group_id=276243
Publications (Open Access):
http://www.ncbi.nlm.nih.gov/pubmed/20080505
http://www.ncbi.nlm.nih.gov/pubmed/19451168
Incomplete list of citations (via HubMed.org):
http://www.hubmed.org/references.cgi?uids=20080505
http://www.hubmed.org/references.cgi?uids=19451168
Related projects:
http://pbwa.sourceforge.net/
http://www.many-core.group.cam.ac.uk/projects/lam.shtml
http://biodoop-seal.sourceforge.net/
http://gitorious.org/bwa-cuda