Unconfigured Ad
Collapse
X
-
type "./samtools" (from cygwin) in the directory you made samools in.
If that does not work, try "./samtools.exe" .
Leave a comment:
-
Thank you Richard Finney. I just made these corrections and the make samtools command finished. Unfortunately, when I try to use samtools the samtools command cannot be found. Did something go wrong when I made the executable?
Leave a comment:
-
CFLAGS should be on the second line of the make file (Makefile)...
Makefile should be modified like this ...
CFLAGS= -g -Wall -O2 -I/usr/include/ncurses
DFLAGS= -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1 -Dexpl=exp -Dlogl=log
You'll also need to append the text -Dexpl=exp -Dlogl=log to the DFLAGS line the Makefile in bcftools
ALSO !!!! run "make clean" or remove all the .o (object) files before re-making.
Leave a comment:
-
Thanks for trying, Carlos.
I found a fix suggested on another post but I have no idea how to implement it. The fix is adding
CC= gcc
CFLAGS= -g -Wall -O2 #-m64 #-arch ppc
CFLAGS= -I/usr/include/ncurses
DFLAGS= -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1 -Dexpl=exp -Dlogl=log
KNETFILE_O= knetfile.o
to Makefile. I found three makefiles and none of them had any CFLAGS in the file. Is it even possible to install samtools on windows?
Leave a comment:
-
Sorry I don't use cygwin so I won't be of much help. Did you try installing libncurses-devel? I see there are several packages in cygwin for it.
Leave a comment:
-
I installed anything with the name 'curses' in it during the cygwin installation and I'm still getting the following right before termination.
gcc -c -g -Wall -O2 -D_FILE_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_tview.c -o bam_tview.o
bam_tview.c:5:20: fatal error: curses.h: No such file or directory
compilation terminated
makefile:21: recipe for target 'bam_tview.o' failed
make:** [bam_tview.o] Error 1
I can't find curses.h to install in cygwin. I don't know what else to do from here.
Leave a comment:
-
I'm on windows 7 and I'm using cygwin. I just installed zlib by updating cygwin and the command got much further. This time curses.h failed and the command was terminated. I'll try installing curses.h to see if that works.
Leave a comment:
-
Hi, you don't have zlib in your system. Could you tell me in what operating system are you installing Samtools?Originally posted by SeqVicious View Postgbzf.h:29:28: fatal error: zlib.h: No such file or directory
Leave a comment:
-
Samtools installation
Hi all,
I'm very new to bioinformatics and all I'm trying to do is index a bam file so I can view the pileup in IGV. I've downloaded the latest version of samtools unpacked it successfully. I'm now trying to install it but I'm running into an error after the 'make samtools' command. Make clean works just fine but the following error occurs after 'make samtools'.
$ make samtools
make[1]: Entering directory <path>
gcc -c -g -Wall -O2 -D_FILE_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bgzf.o
In file included from bgzf.c:36:0:
gbzf.h:29:28: fatal error: zlib.h: No such file or directory
compilation terminated
Makefile:21: recipe for target 'bgzf.o' failed
make[1]: *** [bgzf.o] Error 1
make[1]: Leaving directory <path>
$CC= gcc
gcc: no input filesr] Error 1
It looks like it's having trouble with one of the files. Since I only need to be using a few of the samtools options can I just delete the files that give problems? I've also tried redownloading samtools a couple of times and the same error shows up.Tags: None
Latest Articles
Collapse
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
30 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
22 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
||
|
Started by SEQadmin2, 10-15-2026, 10:52 AM
|
0 responses
39 views
0 reactions
|
Last Post
by SEQadmin2
10-15-2026, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
45 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
Leave a comment: