Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • seqmagician
    Junior Member
    • Aug 2010
    • 3

    #1

    Compiling cufflinks 0.9.x

    Hi,

    Where do I get bamlib? The http://randspringer.de/bam does not work.

    I am trying to compile new cufflinks and tophat and got the folloing message:

    ./configure
    ...
    checking for bamlib... configure: error: We could not detect the bam libraries (version or higher). If you have a staged bam library (still not installed) please specify $BAM_ROOT in your environment and do not give a PATH to --with-bam option. If you are sure you have bam installed, then check your version number looking in <bam/version.hpp>. See http://randspringer.de/bam for more documentation.

    Thanks in advance.
  • scozza
    Member
    • Jan 2009
    • 16

    #2
    This is a problem with TopHat 1.1.0 as well which I have been trying to compile on a Solaris machine all morning. I thought for a moment it might have been BamTools (a C++ API for BAM files) but the version I found does not appear to have the appropriate headers. Has to be something else.

    Hopefully Cole will be able to provide an answer.

    Comment

    • Cole Trapnell
      Senior Member
      • Nov 2008
      • 213

      #3
      That error message is incorrect and misleading - my apologies. I'll update the build scripts to make it right. In the meantime, I suggest you take a look at the "Getting started" page:



      Which describes how to install the BAM libraries such that you build can Cufflinks.
      Last edited by Cole Trapnell; 10-04-2010, 08:12 AM.

      Comment

      • scozza
        Member
        • Jan 2009
        • 16

        #4
        Thanks. I should have realized it would be simple.

        Comment

        • dennisg
          Junior Member
          • May 2010
          • 5

          #5
          hey cole;

          I am still getting the error
          checking for bamlib... configure: error: We could not detect the bam libraries (version or higher). If you have a staged bam library (still not installed) please specify $BAM_ROOT in your environment and do not give a PATH to --with-bam option. If you are sure you have bam installed, then check your version number looking in <bam/version.hpp>. See http://randspringer.de/bam for more documentation.

          installing TOPHAT. I have SAMTOOLS installed, but in my home/bin as I do not have permission to install apps on the machine. I looked at the configure and it appears to be a problem with idenfying the version number. I tried using the with-bam option and setting BAM_ROOT to no avail. Help would be really appreciated.

          Previous versions of tophat were no problem.

          Cheers
          Dennis

          Comment

          • dennisg
            Junior Member
            • May 2010
            • 5

            #6
            Actually, the answer is the same for Tophat as for Cufflinks;

            In my case, I just changed the instructions to use /home/user/bin/samtools

            Download the SAM tools
            Unpack the SAM tools tarball and cd to the SAM tools source directory.
            Build the SAM tools by typing make at the command line.
            Choose a directory into which you wish to copy the SAM tools binary, the included library libbam.a, and the library headers. A common choice is /usr/local/. (I used /home/user/bin/samtools)
            Copy libbam.a to the lib/ directory in the folder you've chosen above (e.g. /usr/local/lib/) - /home/user/bin/samtools/lib
            Create a directory called "bam" in the include/ directory (e.g. /usr/local/include/bam) /home/user/bin/samtools/include/bam
            Copy the headers (files ending in .h) to the include/bam directory you've created above (e.g. /usr/local/include/bam)
            Copy the samtools binary to some directory in your PATH.

            Comment

            • tospo
              Member
              • Jan 2010
              • 11

              #7
              this is still not working for me, trying to install tophat 1.1.0
              I copied the samtools binary into $BASE/bin, which is in my PATH
              then I created $BASE/bin/lib
              and copied libbam.a into this folder
              then I created $BASE/bin/include/bam
              and copied all headers (*.h) into that folder.

              I still get


              checking for bamlib... configure: error: We could not detect the bam libraries (version or higher). If you have a staged bam library (still not installed) please specify $BAM_ROOT in your environment and do not give a PATH to --with-bam option. If you are sure you have bam installed, then check your version number looking in <bam/version.hpp>. See http://randspringer.de/bam for more documentation.

              when I configure tophat.

              I tried to set BAM_ROOT to any of the above folders but that didn't make a difference either. http://randspringer.de/bam doesn't exist.

              Comment

              • ozs2006
                Member
                • May 2010
                • 21

                #8
                Diffculty in installing topHat/Cufflinks

                Cufflinks and topHat are wonderful softwares, I can't wait to use them on my RNA-seq analysis.
                I tried to install topHat from source code.
                I followed your instructions, and also install samtools again.
                It seems to me that libbam.a never created in my samtools directory, so I cannot add it to the topHat/cufflinks path.

                Comment

                • tospo
                  Member
                  • Jan 2010
                  • 11

                  #9
                  it's working for me now. Turns out that I had to use the --with-bam option and I was confused by the error message which said not to use this option.
                  Anyway, here is what I did (basically the same as posted above):

                  I'm installing in $HOME/software
                  the executable will go in $HOME/software/bin

                  Code:
                  mkdir $HOME/software/bin/lib
                  
                  mkdir -p $HOME/software/bin/include/bam
                  Copy files from the samtools source into those new directories. I had downloaded and untar'ed samtools in $HOME/downloads:
                  Code:
                  cp $HOME/downloads/samtools-0.1.8/libbam.a $HOME/software/bin/lib
                  cp $HOME/downloads/samtools-0.1.8/*.h $HOME/software/bin/include/bam
                  
                  wget [url]http://tophat.cbcb.umd.edu/downloads/tophat-1.1.0.tar.gz[/url]
                  tar -xzvf tophat-1.1.0.tar.gz
                  cd tophat-1.1.0
                  ./configure --prefix=$HOME/software --with-bam=$HOME/software/bin
                  make
                  make install
                  now it's working fine.

                  Comment

                  • ozs2006
                    Member
                    • May 2010
                    • 21

                    #10
                    I eventually downloaded samtools 1.0.7a and followed your instructions, then I downloaded binary of tophat.
                    It work (as it seems from running the test_data) .
                    thank you very much

                    Comment

                    Latest Articles

                    Collapse

                    • SEQadmin2
                      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                      by SEQadmin2



                      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                      Despite this, “CRISPR helped turn genome editing from a specialized technique into
                      ...
                      Today, 11:01 AM
                    • SEQadmin2
                      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                      by SEQadmin2


                      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                      The systematic characterization of the human proteome has
                      ...
                      07-20-2026, 11:48 AM
                    • SEQadmin2
                      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                      by SEQadmin2



                      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                      ...
                      07-09-2026, 11:10 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, Today, 02:55 AM
                    0 responses
                    8 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-24-2026, 12:17 PM
                    0 responses
                    12 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-23-2026, 11:41 AM
                    0 responses
                    12 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-20-2026, 11:10 AM
                    0 responses
                    24 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...