Added wrappers err_fputc and err_fputs to catch failures in fput and fputs.
Macros err_putchar and err_puts call the new wrappers and can be used in
place of putchar and puts.
To avoid having to make millions of function calls when printing out
sequences, the code to print them in bwa_print_sam1 using putchar has
been replaced by a new version in bwa_print_seq that puts the sequence
into a buffer and then outputs the lot with err_fwrite. In testing, the
new code was slightly faster than the old version, with the added benefit
that it will stop promptly if IO problems are detected.
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