Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Macspider
    Member
    • Feb 2016
    • 36

    #1

    GBrowse not recognizing the kent source tree

    Hi all,

    When I'm installing GBrowse I'm experiencing some problems. When it comes to the point of running ./Build installdeps to fix the dependencies that are lacking, one of these is Bio:B::File. When trying to install it, it asks me to provide the path to the kent source tree. When I do, it doesn't find that it needs to find in there, which are two files, jkweb.a and bigWig.h.

    This is the complete output:
    Code:
    root@{machine}:/../GBrowse# ./Build installdeps 
    Checking optional dependencies:
    GBrowse installer [Install DB_File::Lock?] n
    GBrowse installer [Install Bio::DB::BigFile?] y
    Reading '/root/.cpan/Metadata'
      Database was generated on Mon, 11 Jul 2016 09:17:02 GMT
    Running install for module 'Bio::DB::BigFile'
    Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/Bio-BigFile-1.07.tar.gz ok
    Configuring L/LD/LDS/Bio-BigFile-1.07.tar.gz with Build.PL
    
    This module requires the compiled jkweb.a library from Jim Kent's source tree.
    If you haven't already done so, please download the source from
    http://hgdownload.cse.ucsc.edu/admin/jksrc.zip, unpack it, and build the
    contents of the "kent/src/lib" subdirectory as directed in the README. Then
    enter the location of the "kent/src" subdirectory at the prompt below. To prevent
    this message from appearing in the future, set the environment variable KENT_SRC 
    to point to the "kent/src" subdirectory.
    
    Please enter the location of Kent source tree: /home/schmat/programs/kentUtils/src
    
    Can't find the bigWig.h and jkweb.a files at this location.
    I already tried exporting the $KENT_SRC variable, it doesn't work. Moreover, if you search the two files through the shell command "find" you will find them.
    Code:
    root@{machine}:/../kentUtils/src# find . -name bigWig.h && find . -name jkweb.a 
    ./inc/bigWig.h
    ./lib/local/jkweb.a
    Has anybody encountered this problem so far? Please help, I really need a solution to this. Thank you very much in advance!
    Last edited by Macspider; 07-11-2016, 06:07 AM.
  • Richard Finney
    Senior Member
    • Feb 2009
    • 701

    #2
    Just a guess.

    Put a slash "/" after the "src"

    Comment

    • Macspider
      Member
      • Feb 2016
      • 36

      #3
      Originally posted by Richard Finney View Post
      Just a guess.

      Put a slash "/" after the "src"
      We literally tried every combination in that sense.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Tried to copy both of those files into /path_to/kent/src/lib ?

        Comment

        • Macspider
          Member
          • Feb 2016
          • 36

          #5
          Originally posted by GenoMax View Post
          Tried to copy both of those files into /path_to/kent/src/lib ?
          Yep. Other errors rise, they need to be where they are!

          EDIT:
          It doesn't show different errors, it keeps showing the same one.
          Last edited by Macspider; 07-14-2016, 06:41 AM. Reason: Incorrect information previously given.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Originally posted by Macspider View Post
            Yep. Other errors rise, they need to be where they are!
            Just to confirm. You made a copy and not a move so there were copies in both places? What other errors arise?

            Comment

            • Macspider
              Member
              • Feb 2016
              • 36

              #7
              Originally posted by GenoMax View Post
              Just to confirm. You made a copy and not a move so there were copies in both places? What other errors arise?
              Yes that was a copy, even though I tried with both move and copy. There is no particular error, but the installation program keeps saying that it can't find those files in that directory. I checked again and it wasn't letting other errors arise, rather keeping showing the same error. I will edit the post above.

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Did you compile these using sudo? I am not sure if the solution in this thread is applicable but check it out just in case: https://sourceforge.net/p/gmod/mailm...sage/26342612/
                Last edited by GenoMax; 07-14-2016, 11:23 AM.

                Comment

                • Macspider
                  Member
                  • Feb 2016
                  • 36

                  #9
                  I did everything as super user and already followed that exact thread on sourceforge that you sent me, making with -fPIC and exporting the MACHTYPE variable everytime. I think it might be something related to how these files that i lack are compiled, maybe they don't arise any error but are somehow corrupted inside without raising errors or warnings (although strange...)

                  Comment

                  • geocarvalho
                    Junior Member
                    • Mar 2017
                    • 1

                    #10
                    Someone solved this? I have the same problem using kentUtils

                    Comment

                    • Macspider
                      Member
                      • Feb 2016
                      • 36

                      #11
                      Originally posted by geocarvalho View Post
                      Someone solved this? I have the same problem using kentUtils
                      Yes, I solved it in the end. Unluckily for you, there isn't a clear reason why it worked in the end, but it did. How I did it:

                      1 - went to the root directory (/)

                      2 - downloaded the jksrc.zip file there (not the github one, but the old one) here: http://hgdownload.cse.ucsc.edu/admin/jksrc.zip

                      3 - compiled it following the instructions in its readme (some libs have to be compiled first, especially using -fPIC)
                      Code:
                      make CXXFLAGS=-fPIC CFLAGS=-fPIC CPPFLAGS=-fPIC
                      4 - installed GBrowse using default settings which, for whatever reason, in the root directory recognize the kent source tree.

                      NOTE 1:
                      Always make sure that your machine type ($MACHTYPE) is what you get with uname -p (processor). If you check uname -m (machine type) you might have something like x86_64-linux but you need to have something simple like x86_64 only.
                      To change it just:
                      Code:
                      MACHTYPE="x86_64"
                      echo $MACHTYPE
                      NOTE 2:
                      Use samtools version 0.1.19 and not newer versions, the newer ones are not compatible with that kent source tree and depending on the github release you have you get different samtools compatibility issues. 0.1.19 and jksrc.zip together work.


                      NOTE 3:
                      Be aware of the existence of JBROWSE, easier to install and to use, which only lacks the image export function but can be wrapped using other tools which you will easily find googling.


                      It took me around 2.7% of my PhD to figure out all of this. Good luck!
                      Last edited by Macspider; 03-03-2017, 04:50 AM.

                      Comment

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