From cb83f484aa157437762e875ef7f4f17c8e8f5bc0 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Sun, 5 Dec 2010 06:18:06 +0000 Subject: [PATCH] added a warning for the Windows version --- bamtk.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.39.5