From 4f6121c28bf078b620294449f2ec41da1e5f7b9d Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Fri, 13 Oct 2017 19:47:20 +0200 Subject: [PATCH] Version 1.0.30 (changes in sumalibs) --- sumaclust.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sumaclust.c b/sumaclust.c index e3e9e49..ebe6d49 100644 --- a/sumaclust.c +++ b/sumaclust.c @@ -23,7 +23,7 @@ #include "mtcompare_sumaclust.h" #include "sumaclust.h" -#define VERSION "1.0.20" +#define VERSION "1.0.30" /* ----------------------------------------------- */ @@ -585,7 +585,7 @@ void putSeqInCluster(fastaSeqPtr* seq, fastaSeqPtr* center, double score) } -int compare(fastaSeqPtr* db, int n, BOOL fastOption, double threshold, BOOL normalize, int reference, BOOL lcsmode, +int compare(fastaSeqPtr* db, int n, BOOL fastOption, double threshold, BOOL normalize, int reference, BOOL lcsmode, double max_ratio) { double score; @@ -723,7 +723,7 @@ int compare(fastaSeqPtr* db, int n, BOOL fastOption, double threshold, BOOL nor free(iseq1-sizeForSeqs+lmax); free(iseq2-sizeForSeqs+lmax); - if (normalize && reference == ALILEN) + if (normalize && (reference == ALILEN)) free(address); return(k); @@ -1037,7 +1037,6 @@ int main(int argc, char** argv) // FASTA file if (printFASTA) { - if (printFASTAtofile) { FASTA_output = fopen(FASTA_file_name, "w");