Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BWA and Samtools installation failing

    Hi.

    First post, so please be gentle

    First, I would like to say that I am not very familiar with Linux/Unix so I need advice to be addressed in a manner so that I can understand. I hope this is not stopping you from giving me some advice.

    System, Ubuntu 12.04 LTS 64-bit, Intel core i7-2640M CPU, 8 GB memory.

    I would like to set up a few tools in order to perform ananlysis of my RNA-sequencing (Illumina HiSeq). So far I have figured out that I would like to try the combination of the following software:

    - BWA
    - Cufflinks
    - Samtools
    - Bowtie
    - TopHat

    Cufflinks and tophat is working (at least if I type cufflinks --help or tophat --help).

    Now, I am having trouble with Samtools and BWA, and it appears that I am not able to install them (by using the make command).

    I am getting the following error:

    JamesT-XPS-L412Z:~/Samtools/samtools-0.1.18$ make
    make[1]: Entering directory `/home/jim/Samtools/samtools-0.1.18'
    make[2]: Entering directory `/home/jim/Samtools/samtools-0.1.18'
    gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bgzf.c -o bgzf.o
    In file included from bgzf.c:36:0:
    bgzf.h:29:18: fatal error: zlib.h: No such file or directory
    compilation terminated.
    make[2]: *** [bgzf.o] Error 1
    make[2]: Leaving directory `/home/jim/Samtools/samtools-0.1.18'
    make[1]: *** [lib-recur] Error 1
    make[1]: Leaving directory `/home/jim/Samtools/samtools-0.1.18'
    make: *** [all-recur] Error 1

    JamesT-XPS-L412Z:~/bwa/bwa-0.6.2$ make
    gcc -c -g -Wall -O2 -DHAVE_PTHREAD bwa.c -o bwa.o
    In file included from bwa.c:8:0:
    bntseq.h:32:18: fatal error: zlib.h: No such file or directory
    compilation terminated.
    make: *** [bwa.o] Error 1

    From searching the web for a few days I think the problem is with the library, however, my Ubuntu tells me that the zlib1g-dev is installed. Is there any other library I need? Do I need to make changes to the make file? Or is the problem elsewhere.

    -James
    Last edited by JamesT; 06-28-2012, 03:18 AM. Reason: problem solved

  • #2
    I did the following:

    JamesT-XPS-L412Z:~$sudo apt-get update
    JamesT-XPS-L412Z:~$sudo apt-get install zlib1g-dev libncurses5-dev
    JamesT-XPS-L412Z:~/Samtools/samtools-0.1.18$ make
    JamesT-XPS-L412Z:~/bwa/bwa-0.6.2$ make

    Both commands finished without errors, so I assume things are ok.

    Comment


    • #3
      Originally posted by JamesT View Post
      Hi.

      First, I would like to say that I am not very familiar with Linux/Unix so I need advice to be addressed in a manner so that I can understand. I hope this is not stopping you from giving me some advice.
      Don't worry... I'm sure most of us without a backgroud in linux have been stumped by the zlib/ncurses thing at some point or the other

      Comment


      • #4
        Well, at least I managed to make it work Thanks for the positive remark, it is helpful when you are entering a new field (NGS and Linux).

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Recent Advances in Sequencing Analysis Tools
          by seqadmin


          The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
          05-06-2024, 07:48 AM
        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 06:35 AM
        0 responses
        12 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 02:46 PM
        0 responses
        18 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-07-2024, 06:57 AM
        0 responses
        17 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-06-2024, 07:17 AM
        0 responses
        19 views
        0 likes
        Last Post seqadmin  
        Working...
        X