Carrot root and DNA VCRU Bioinformatics USDA ARS Vegetable Crops Research Unit

This page was last updated on Monday, 24-Aug-2020 10:40:31 CDT

Installation notes for sabre version 1.000 commit 039a55e

Home Page

Prerequisites

Installation

  1. $ ver=""
  2. $ cd /programinstallers/
  3. $ git clone https://github.com/najoshi/sabre.git
  4. $ cd sabre
  5. $ make
    gcc -Wall -pedantic -DVERSION=1.00 -O3 -c src/barcode.c
    gcc -Wall -pedantic -DVERSION=1.00 -O3 -c src/demulti_single.c
    src/demulti_single.c: In function ‘single_main’:
    src/demulti_single.c:47:6: warning: variable ‘debug’ set but not used [-Wunused-but-set-variable]
      int debug=0;
          ^~~~~
    src/demulti_single.c:70:41: warning: statement will never be executed [-Wswitch-unreachable]
        if (single_long_options[option_index].flag != 0) break;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
    gcc -Wall -pedantic -DVERSION=1.00 -O3 -c src/demulti_paired.c
    src/demulti_paired.c: In function ‘paired_main’:
    src/demulti_paired.c:59:6: warning: variable ‘debug’ set but not used [-Wunused-but-set-variable]
      int debug=0;
          ^~~~~
    src/demulti_paired.c:85:41: warning: statement will never be executed [-Wswitch-unreachable]
        if (paired_long_options[option_index].flag != 0) break;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
    gcc -Wall -pedantic -DVERSION=1.00 -O3 -c src/sabre.c
    gcc -Wall -pedantic -DVERSION=1.00 -O3 barcode.o demulti_single.o demulti_paired.o sabre.o -o sabre -lz
  6. $ cp -puv sabre /usr/local/bin/
  7. Cleanup
    $ cd /programinstallers
  8. $ rm sabre -rf