Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LVAndrews
    Member
    • Sep 2012
    • 55

    #1

    lastz and yasra install problems

    Hello,

    I am attempting to install lastz and yasra for plastid genome assembly, but am having problems. I downloaded lastz here:



    and yasra v1 here:



    I was informed by the user that they needed yasra v1 as later versions are not compatible with their pipeline. Anyway, I downloaded yasra first, but it didn't want to install, so I moved on to lastz. I issued:

    sudo make

    which produced some errors. I googled a bit, and found a thread here on seqanswers where it was suggested to go into the lastz makefile, and delete -Werror from line 31, and repeat install. It worked!

    But then I tried to install yasra and it seems it is dependent on -Werror:

    sudo make
    make pipeline
    make[1]: Entering directory `/bin/yasra'
    gcc -W -Wformat -Wimplicit -Wreturn-type -Wall -Werror -Wno-unused-variable -Wunused-parameter -Wreturn-type -Wpointer-arith -Wswitch -Wcast-align -Winline -Wnested-externs -Wextra -DNDEBUG -O2 -funroll-all-loops -minline-all-stringops -momit-leaf-frame-pointer -I. -c -o substitutions.o substitutions.c
    substitutions.c: In function ‘main’:
    substitutions.c:35:52: error: variable ‘match’ set but not used [-Werror=unused-but-set-variable]
    substitutions.c:34:7: error: variable ‘old_seq_name’ set but not used [-Werror=unused-but-set-variable]
    cc1: all warnings being treated as errors
    make[1]: *** [substitutions.o] Error 1
    make[1]: Leaving directory `/bin/yasra'
    make: *** [all] Error 2

    I am doing all of this in my /bin directory since I can't seem to get new directories added permanently to my path (I only seem to know enough to cause trouble for myself and others), which is why I am using sudo with each command. I thought perhaps directory permissions were really the cause of my trouble, so I moved the lastz folder to my desktop and repeated the make command, but got the same problem output:

    sudo make
    cd src && make lastz lastz_D
    make[1]: Entering directory `/home/enggen/Downloads/lastz-distrib-1.02.00/src'
    gcc -c -O3 -Wall -Wextra -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DVERSION_MAJOR="\"1"\" -DVERSION_MINOR="\"02"\" -DVERSION_SUBMINOR="\"00"\" -DREVISION_DATE="\"20100112"\" -DSUBVERSION_REV="\"1278:1279M"\" -Dscore_type=\'I\' lastz.c -o lastz.o
    lastz.c: In function ‘main’:
    lastz.c:441:9: error: variable ‘freeTargetRev’ set but not used [-Werror=unused-but-set-variable]
    lastz.c: In function ‘start_one_strand’:
    lastz.c:1669:9: error: variable ‘base****’ set but not used [-Werror=unused-but-set-variable]
    lastz.c: In function ‘parse_options’:
    lastz.c:5048:9: error: variable ‘seq1Filename’ set but not used [-Werror=unused-but-set-variable]
    cc1: all warnings being treated as errors
    make[1]: *** [lastz.o] Error 1
    make[1]: Leaving directory `/home/enggen/Downloads/lastz-distrib-1.02.00/src'
    make: *** [build_lastz] Error 2

    I am running 64bit Ubuntu 12.04, which may or may not place certain files in the same place as other linux distros.

    Any ideas how to solve these problems?
  • amitbik
    Member
    • May 2013
    • 53

    #2
    lastz problem

    same here also...

    Did any you find the solution??

    Thanks...

    Comment

    • amitbik
      Member
      • May 2013
      • 53

      #3
      i got the answer. it is actually posted by scami

      1) Open the Makefile file within the src directory with a text editor
      2) Delete the word -Werror at the line 31 . Save and quit
      3) Repeat the make / make install procedure

      By follwing this step i got the executable file.

      Comment

      • LVAndrews
        Member
        • Sep 2012
        • 55

        #4
        I thought I had tried that previously, but the user went and tried the free version of Geneious and used that instead (pretty great assembler). Their lab wound up purchasing a license as did we. If I have future need for yasra/lastz, I'll give these instructions a try.

        Comment

        • Topulaneus-Hattum
          Member
          • Feb 2014
          • 14

          #5
          Originally posted by AKrohn View Post
          Hello,
          (I only seem to know enough to cause trouble for myself and others), which is why I am using sudo with each command.
          This is why there are such things as botnets.

          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
          28 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
          38 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          44 views
          0 reactions
          Last Post SEQadmin2  
          Working...