Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ronaldrcutler
    Member
    • May 2016
    • 80

    Blat installation

    Hello all,

    I have been using AlingGraph to aling contigs I have to a reference genome. This program uses blat, however only supports up to version 34. I downloaded the blatSrc34.zip source code file and followed the README for installation on a Mac OSX 10.10.5. I get this error when executing the last step by running the make file using 'make' in the blastSRC directory:

    $ make

    cd lib && /Applications/Xcode.app/Contents/Developer/usr/bin/make

    gcc -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_ -DJK_WARN -Wall -Werror -I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc -o aliType.o -c aliType.c

    aliType.c:5:19: error: unused variable 'rcsid' [-Werror,-Wunused-const-variable]

    static char const rcsid[] = "$Id: aliType.c,v 1.4 2003/05/06 07:33:41 kate Exp $";

    ^

    1 error generated.

    make[1]: *** [aliType.o] Error 1

    make: *** [all] Error 2

    Any help with this?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Are you sure about the requirement for v34? Have you tried the latest blast executable for Mac OS?

    Comment

    • ronaldrcutler
      Member
      • May 2016
      • 80

      #3
      Steps to install blat v34 on Mac OSX (10.10.5)

      This is for Mac users who are using AlignGraph and want to use blat alignment which requires blat v34 (latest at the time of writing is blat v36)

      Credit goes to Maximilian Haeussler & Hiram Clawson from blat for their help.

      Download zip from the blat archives
      Unzip folder (blatSrc) and place in desired directory

      *replace ar rcus in lib/makefile with libtool -static -o
      *replace ar rcus $(T) $(O) in jkOwnLib/makefile with libtool -static -o $(T) $(O)

      1. Check that the environment variable MACHTYPE exist on your system.

      command: $echo $MACHTYPE
      my result: x86_64-apple-darwin14

      2. Determine what system reports itself as:

      $uname -m
      my result: x86_64

      3. Set the MACHTYPE environment variable in ~/.bash_profile

      open ~/.bash_profile: $open -a TextEdit ~/.bash_profile

      write this: MACHTYPE=x86_64
      write this: export MACHTYPE

      close and save profile and then update: $source ~/.bash_profile

      4. Make the directory ~/bin/$MACHTYPE where (non-web) executables will go.

      $mkdir /usr/local/bin/$MACHTYPE

      5. Add the directory made above to the path. In ~/.bash_profile similar to step 3

      write this: PATH=$PATH:/usr/local/bin/$MACHTYPE

      6. Make the directory $MACHTYPE in the lib directory (if not there already)

      $mkdir /usr/local/bin/blastsrc/lib/$MACHTYPE

      7. create jkweb in lib directory

      lib$ make HG_WARN=""

      8. In the blastSrc directory type 'make'

      blastSrc$ make HG_WARN=''"

      If you get this error:

      ld: can't open output file for writing: /Users/*your_username/bin/x86_64/blat, errno=2 for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[1]: *** [blat] Error 1
      make: *** [all] Error 2

      Than go ahead and make the directory:

      $ mkdir /Users/*your_username/bin/x86_64

      The executable will be output in your directory. In this case you will have to go back in your ~/.bash_profile and change the path in order to use the executables easily in the ternimal.

      Cheers

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM
      • SEQadmin2
        From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
        by SEQadmin2


        Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


        The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
        ...
        06-02-2026, 10:05 AM
      • SEQadmin2
        Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
        by SEQadmin2


        With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


        Introduction

        Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
        05-22-2026, 06:42 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      38 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      45 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      49 views
      0 reactions
      Last Post SEQadmin2  
      Working...