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
          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 on Modified Bases...
          Yesterday, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        39 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        41 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        35 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        55 views
        0 likes
        Last Post seqadmin  
        Working...
        X