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

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...