7 Commits

Author SHA1 Message Date
89fa626950 Actualiser Makefile 2025-06-12 15:02:44 +00:00
1c27cff112 Actualiser global.mk 2025-06-12 15:00:02 +00:00
c81ac1ec53 Actualiser .gitmodules 2025-06-12 14:54:36 +00:00
a2b7a11b84 moved sumalib to v1.0.36 2020-04-13 14:08:16 +02:00
89eafb3772 forgotten pdf doc 2019-03-28 14:54:37 +01:00
29081ddbb3 updated documentation for the new installation 2019-03-28 14:46:06 +01:00
c4822c4874 Cleaner installation 2019-03-27 17:09:31 +01:00
9 changed files with 27 additions and 21 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "sumalibs"]
path = sumalibs
url = https://git.metabarcoding.org/obitools/sumalibs.git
url = https://forge.metabarcoding.org/obitools/sumalibs.git

View File

@ -1,3 +1,7 @@
PREFIX=/usr/local
CFLAGS=-I$(PREFIX)/include
EXEC = sumatra
SUMATRA_SRC = sumatra.c \
@ -22,7 +26,7 @@ all: $(EXEC)
# executable compilation and link
sumatra: $(SUMATRA_OBJ) $(LIBSUMA)
sumatra: $(SUMATRA_OBJ) ./sumalibs/libsuma.a
$(CC) $(LDFLAGS) -o $@ -pthread $(SUMATRA_OBJ) $(LIBSUMAPATH) $(LIB)
########
@ -36,4 +40,6 @@ clean:
rm -f $(EXEC)
$(MAKE) -C ./sumalibs clean
install: all
install -d $(DESTDIR)$(PREFIX)/bin/
install -m 755 $(EXEC) $(DESTDIR)$(PREFIX)/bin/

View File

@ -1,4 +1,3 @@
LIBSUMAPATH = -L./sumalibs
LIBSUMA = ./sumalibs/libsuma.a
@ -8,9 +7,9 @@ LDFLAGS=
ifeq ($(CC),gcc)
CFLAGS = -O3 -s -DOMP_SUPPORT -w
CFLAGS = -I sumalibs -O3 -s -DOMP_SUPPORT -w
else
CFLAGS = -O3 -w
CFLAGS = -I sumalibs -O3 -w
endif

View File

@ -10,10 +10,10 @@
#include <stdio.h>
#include <string.h>
#include "sumatra.h"
#include "./sumalibs/libfasta/sequence.h"
#include "./sumalibs/libutils/utilities.h"
#include "./sumalibs/liblcs/upperband.h"
#include "./sumalibs/liblcs/sse_banded_LCS_alignment.h"
#include "libfasta/sequence.h"
#include "libutils/utilities.h"
#include "liblcs/upperband.h"
#include "liblcs/sse_banded_LCS_alignment.h"
typedef struct {

View File

@ -14,13 +14,13 @@
#include <sys/time.h>
#include "./sumalibs/libfasta/sequence.h"
#include "./sumalibs/liblcs/upperband.h"
#include "./sumalibs/liblcs/sse_banded_LCS_alignment.h"
#include "./sumalibs/libutils/utilities.h"
#include "libfasta/sequence.h"
#include "liblcs/upperband.h"
#include "liblcs/sse_banded_LCS_alignment.h"
#include "libutils/utilities.h"
#include "mtcompare_sumatra.h"
#define VERSION "1.0.32"
#define VERSION "1.0.36"
/* ----------------------------------------------- */

View File

@ -8,7 +8,7 @@
#ifndef SUMATRA_H_
#define SUMATRA_H_
#include "./sumalibs/libfasta/sequence.h"
#include "libfasta/sequence.h"
void printResults(fastaSeqPtr seq1, fastaSeqPtr seq2, double score, BOOL extradata, int64_t pairs, BOOL print);

View File

@ -29,7 +29,8 @@ Untar the archive, go into the newly created directory and compile:
```
tar zxvf sumatra_v[x.x.xx].tar.gz
cd sumatra_v[x.x.xx]
make
make -C sumalibs install
make install
```
## Documentation

Binary file not shown.