From: Heng Li <lh3@live.co.uk>
Date: Sun, 5 Dec 2010 06:18:06 +0000 (+0000)
Subject: added a warning for the Windows version
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cb83f484aa157437762e875ef7f4f17c8e8f5bc0;p=samtools.git

added a warning for the Windows version
---

diff --git a/bamtk.c b/bamtk.c
index 79635d6..8d8a8dd 100644
--- a/bamtk.c
+++ b/bamtk.c
@@ -95,6 +95,12 @@ static int usage()
 	fprintf(stderr, "         rmdup       remove PCR duplicates\n");
 	fprintf(stderr, "         reheader    replace BAM header\n");
 	fprintf(stderr, "\n");
+#ifdef _WIN32
+	fprintf(stderr, "\
+Note: The Windows version of SAMtools is mainly designed for read-only\n\
+      operations, such as viewing the alignments and generating the pileup.\n\
+      Binary files generated by the Windows version may be buggy.\n\n");
+#endif
 	return 1;
 }