Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • SeqVicious
    replied
    Thank you for your help, it's all working now

    Leave a comment:


  • Richard Finney
    replied
    type "./samtools" (from cygwin) in the directory you made samools in.

    If that does not work, try "./samtools.exe" .

    Leave a comment:


  • SeqVicious
    replied
    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:


  • Richard Finney
    replied
    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:


  • SeqVicious
    replied
    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:


  • Carlos Borroto
    replied
    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:


  • SeqVicious
    replied
    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:


  • SeqVicious
    replied
    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:


  • Carlos Borroto
    replied
    Originally posted by SeqVicious View Post
    gbzf.h:29:28: fatal error: zlib.h: No such file or directory
    Hi, you don't have zlib in your system. Could you tell me in what operating system are you installing Samtools?

    Leave a comment:


  • SeqVicious
    started a topic Samtools installation

    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.

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    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
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    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
    ...
    09-28-2026, 10:25 AM

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 SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
22 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
39 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
45 views
0 reactions
Last Post SEQadmin2  
Working...