Skip to content

Commit

Permalink
Updated README and fixed compilation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rvaser committed Oct 31, 2017
1 parent dce738d commit d8cb52f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SIFT (Sorting Intolerant From Tolerant) For Genomes (http://www.nature.com/nprot/journal/v11/n1/full/nprot.2015.123.html)

## Requirements
- g++ (4.8+)
- g++ (4.9+)
- GNU Make
- nvcc (2.\*+) (optional)

Expand Down Expand Up @@ -41,7 +41,7 @@ where both the query and database files are protein sequences in fasta format.
To see all available parameters run the command bellow:

./bin/sift4g -h

## Check installation

To test sift4g, go to the [test_files directory](test_files/) and follow directions in [README](test_files/README.md)
3 changes: 2 additions & 1 deletion sift4g/src/database_search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <algorithm>
#include <limits>
#include <cmath>

#include "hash.hpp"
#include "utils.hpp"
Expand Down Expand Up @@ -261,7 +262,7 @@ int32_t longestIncreasingSubsequence(const std::vector<int32_t>& src) {
u = src.size();

while (u > l) {
temp = floor((l + u) / 2.0f);
temp = std::floor((l + u) / 2.0f);
if (help[temp] < src[i]) {
l = temp + 1;
} else {
Expand Down

0 comments on commit d8cb52f

Please sign in to comment.