1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/biology/ssaha/files/patch-testQueryManager.cpp
Felippe de Meirelles Motta 702ce22305 SSAHA is a software tool for very fast matching and alignment of DNA
sequences. It stands for Sequence Search and Alignment by Hashing
Algorithm. It achieves its fast search speed by converting sequence
information into a `hash table' data structure, which can then be
searched very rapidly for matches.

WWW: http://www.sanger.ac.uk/Software/analysis/SSAHA/

PR:		ports/124525
Submitted by:	Fernan Aguero <fernan@iib.unsam.edu.ar>
Approved by:	gabor (mentor, implicit)
2008-06-21 00:01:57 +00:00

21 lines
725 B
C++

--- ./QueryManager/testQueryManager.cpp.orig 2004-03-01 13:51:29.000000000 -0300
+++ ./QueryManager/testQueryManager.cpp 2008-06-12 15:39:31.000000000 -0300
@@ -53,7 +53,7 @@
void reverseString( string& seq )
{
string rc;
- for ( int i(0) ; i < seq.size() ; i++ )
+ for ( unsigned int i(0) ; i < seq.size() ; i++ )
{
if ( ( seq[i] == 'A' ) || (seq[i] == 'a') ) rc = 'T' + rc;
else if ( ( seq[i] == 'T' ) || (seq[i] == 't') ) rc = 'A' + rc;
@@ -165,7 +165,7 @@
int numSeqs = 3;
int seqSize = 1000;
int wordLength = 7;
- int maxHits = 50;
+// int maxHits = 50;
// Generate a random sequence of (numSeqs*seqSize) base pairs ...
// 1128 is the seed value for the random number generator