]> git.donarmstrong.com Git - samtools.git/commitdiff
added a warning for the Windows version
authorHeng Li <lh3@live.co.uk>
Sun, 5 Dec 2010 06:18:06 +0000 (06:18 +0000)
committerHeng Li <lh3@live.co.uk>
Sun, 5 Dec 2010 06:18:06 +0000 (06:18 +0000)
bamtk.c

diff --git a/bamtk.c b/bamtk.c
index 79635d6bf1bca8bad00abdaa5f926b35a3fc59a0..8d8a8dde6764a2430771e03c33b5b69fdf89bfdf 100644 (file)
--- 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;
 }