File tree Expand file tree Collapse file tree 4 files changed +31
-6
lines changed Expand file tree Collapse file tree 4 files changed +31
-6
lines changed Original file line number Diff line number Diff line change
1
+ 2021-06-28 Torbjorn Rognes <torognes@ifi.uio.no>
2
+ * Version 2.1.1
3
+ * Fix for very long header strings in NCBI database files
4
+
1
5
2018-05-04 Torbjorn Rognes <torognes@ifi.uio.no>
2
6
* Version 2.1.0
3
7
* Fix for changes to NCBI database format
Original file line number Diff line number Diff line change 1
1
SWIPE
2
2
Smith-Waterman database searches with Inter-sequence Parallel Execution
3
3
4
- Copyright (C) 2008-2014 Torbjorn Rognes, University of Oslo,
4
+ Copyright (C) 2008-2021 Torbjorn Rognes, University of Oslo,
5
5
Oslo University Hospital and Sencel Bioinformatics AS
6
6
7
7
This program is free software: you can redistribute it and/or modify
@@ -105,7 +105,8 @@ specified organisms.
105
105
SWIPE accepts only databases prepared using the formatdb or makeblastdb
106
106
tools that are distributed together with NCBI BLAST and BLAST+. They
107
107
can be downloaded at ftp://ftp.ncbi.nlm.nih.gov/blast/executables/
108
- from NCBI.
108
+ from NCBI. For makeblastdb, please use the "-blastdb_version 4" option
109
+ to make databases that are compatible with SWIPE.
109
110
110
111
The SWIPE distribution includes executable binaries for 64-bit Linux and
111
112
Mac. SWIPE may be compiled from sources using either the GNU g++ compiler,
Original file line number Diff line number Diff line change 2
2
SWIPE
3
3
Smith-Waterman database searches with Inter-sequence Parallel Execution
4
4
5
- Copyright (C) 2008-2013 Torbjorn Rognes, University of Oslo,
5
+ Copyright (C) 2008-2021 Torbjorn Rognes, University of Oslo,
6
6
Oslo University Hospital and Sencel Bioinformatics AS
7
7
8
8
This program is free software: you can redistribute it and/or modify
@@ -194,7 +194,27 @@ void parse_visiblestring(apt p)
194
194
length = (length << 8 ) | p->ch ;
195
195
nextch (p);
196
196
}
197
- else if (p->len > 0x82 )
197
+ else if (p->len == 0x83 )
198
+ {
199
+ length = p->ch ;
200
+ nextch (p);
201
+ length = (length << 8 ) | p->ch ;
202
+ nextch (p);
203
+ length = (length << 8 ) | p->ch ;
204
+ nextch (p);
205
+ }
206
+ else if (p->len == 0x84 )
207
+ {
208
+ length = p->ch ;
209
+ nextch (p);
210
+ length = (length << 8 ) | p->ch ;
211
+ nextch (p);
212
+ length = (length << 8 ) | p->ch ;
213
+ nextch (p);
214
+ length = (length << 8 ) | p->ch ;
215
+ nextch (p);
216
+ }
217
+ else if (p->len > 0x84 )
198
218
{
199
219
fprintf (stderr, " Error: illegal string length (%02x).\n " , p->len );
200
220
fatal (" Error parsing binary ASN.1 in database sequence definition." );
Original file line number Diff line number Diff line change 2
2
SWIPE
3
3
Smith-Waterman database searches with Inter-sequence Parallel Execution
4
4
5
- Copyright (C) 2008-2014 Torbjorn Rognes, University of Oslo,
5
+ Copyright (C) 2008-2021 Torbjorn Rognes, University of Oslo,
6
6
Oslo University Hospital and Sencel Bioinformatics AS
7
7
8
8
This program is free software: you can redistribute it and/or modify
55
55
#define LINE_MAX 2048
56
56
#endif
57
57
58
- #define SWIPE_VERSION "2.1.0 "
58
+ #define SWIPE_VERSION "2.1.1 "
59
59
60
60
// Should be 32bits integer
61
61
typedef unsigned int UINT32 ;
You can’t perform that action at this time.
0 commit comments