Skip to content

Commit

Permalink
SWIPE 2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
torognes committed Jan 21, 2014
1 parent 934a2d9 commit 262bfca
Show file tree
Hide file tree
Showing 15 changed files with 559 additions and 701 deletions.
11 changes: 11 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2014-01-21 Torbjorn Rognes <[email protected]>
* Version 2.0.9
* Changed inline assembler syntax (adding register prefix) to
adapt to the LLVM clang compiler on Mac
* Improved detection of CPU features (SSSE3 etc) and added
alternative code for the search7 function for CPUs with
and without SSSE3
* Fixed an inconsistency in the counting of 'positives', i.e.
similar but non-identical residues
* Added binaries for Mac, including an openmpi version

2014-01-17 Torbjorn Rognes <[email protected]>
* Version 2.0.8
* Removed a bug in computation of the score of alignments
Expand Down
Binary file modified Linux/mpiswipe
Binary file not shown.
Binary file modified Linux/swipe
Binary file not shown.
Binary file added Mac/mpiswipe
Binary file not shown.
Binary file added Mac/swipe
Binary file not shown.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MPI_LINK=`mpicxx --showme:link`
COMMON=-g
#COMMON=-pg -g

COMPILEOPT=-Wall -mssse3
COMPILEOPT=-Wall

LIBS=-lpthread

Expand All @@ -53,7 +53,7 @@ clean :

OBJS = database.o asnparse.o align.o matrices.o \
stats.o hits.o query.o \
search63.o search16.o search16s.o search7.o
search63.o search16.o search16s.o search7.o search7_ssse3.o

DEPS = swipe.h Makefile

Expand All @@ -71,3 +71,5 @@ mpiswipe : mpiswipe.o $(OBJS)
mpiswipe.o : swipe.cc $(DEPS)
$(CXX) $(CXXFLAGS) -DMPISWIPE $(MPI_COMPILE) -c -o $@ swipe.cc

search7_ssse3.o : search7.cc $(DEPS)
$(CXX) -mssse3 $(CXXFLAGS) -DSWIPE_SSSE3 -c -o $@ search7.cc
73 changes: 0 additions & 73 deletions Makefile.gnu

This file was deleted.

73 changes: 0 additions & 73 deletions Makefile.intel

This file was deleted.

4 changes: 3 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ Usage: ./[mpi]swipe [OPTIONS]
-o, --out=FILE output file (stdout)
-z, --dbsize=NUM set effective database size (0)

Defaults are indicated in parentheses in the option list above.
Defaults are indicated in parentheses in the option list above. NUM means an
integer, while REAL means a floating point number (possibly in scientific
notation).

Most features and options are similar and compatible with NCBI
BLAST.
Expand Down
5 changes: 4 additions & 1 deletion hits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1070,8 +1070,11 @@ void count_align(long i,
char qs = q_seq[q_pos++];
char ds = d_seq[d_pos++];
if (qs == ds)
{
(*identities)++;
if (score_matrix_63[32*qs+ds] > 0)
(*positives)++;
}
else if (score_matrix_63[32*qs+ds] > 0)
(*positives)++;
}
}
Expand Down
Loading

0 comments on commit 262bfca

Please sign in to comment.