Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/bowtie/files/, sci-biology/bowtie/
Date: Wed, 09 Sep 2020 10:36:45
Message-Id: 1599647669.72b619bb3a27ec63f571afbf73ec75893fcc2d99.mgorny@gentoo
1 commit: 72b619bb3a27ec63f571afbf73ec75893fcc2d99
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 9 10:26:34 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 10:34:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b619bb
7
8 sci-biology/bowtie: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sci-biology/bowtie/Manifest | 1 -
13 sci-biology/bowtie/bowtie-1.1.2-r1.ebuild | 74 ----
14 .../files/bowtie-1.1.2-_ContextLss-1.1-1.4.patch | 17 -
15 .../files/bowtie-1.1.2-fix-setBegin-call.patch | 42 ---
16 .../bowtie/files/bowtie-1.1.2-seqan-popcount.patch | 24 --
17 .../bowtie-1.1.2-seqan-rename-ChunkPool.patch | 382 ---------------------
18 .../bowtie-1.1.2-seqan-rename-fill-to-resize.patch | 85 -----
19 .../bowtie/files/bowtie-1.1.2-spelling.patch | 48 ---
20 .../bowtie-1.1.2-tbb-tinythread-missing.patch | 18 -
21 .../bowtie/files/bowtie-1.1.2-unbundle-seqan.patch | 27 --
22 10 files changed, 718 deletions(-)
23
24 diff --git a/sci-biology/bowtie/Manifest b/sci-biology/bowtie/Manifest
25 index 824c7439adc..50ad9715e98 100644
26 --- a/sci-biology/bowtie/Manifest
27 +++ b/sci-biology/bowtie/Manifest
28 @@ -1,2 +1 @@
29 -DIST bowtie-1.1.2-src.zip 7713258 BLAKE2B ac10aca905099b5a70d3fab6f90e2dc4713bf7b460d027abf89a6ef6103979724e70b2915a86ffa571b59dcd9df768c80be1846cccd08f7f85dd402ce64c0cb0 SHA512 3d3d69bc3a865bb577b5a91440215d0d5b606c7a8751d565e606e36adbfbdef695b1718ae81cd3e2682a39ca7784c4d00976441e7618264ad99b04c7f53c36e8
30 DIST bowtie2-2.2.9-source.zip 5734235 BLAKE2B ec48e09fe05403d1085bb4e0c6ef1325b8912da0a8c942061c34f3381c6dd7ccdcc64c4bcdbb18c1da84ac57e1e34cc866fe79809c33c2769a8d75ecde7d0846 SHA512 ead8f7641f3231638d986f9e500bc4ec7afe1e542048465bfcc2e93e2b2d2e499f0dd8aa5c1e3e21df285c9d195b187682eb7e12be4a408f6c50fb97c0e0a205
31
32 diff --git a/sci-biology/bowtie/bowtie-1.1.2-r1.ebuild b/sci-biology/bowtie/bowtie-1.1.2-r1.ebuild
33 deleted file mode 100644
34 index d8b607f870f..00000000000
35 --- a/sci-biology/bowtie/bowtie-1.1.2-r1.ebuild
36 +++ /dev/null
37 @@ -1,74 +0,0 @@
38 -# Copyright 1999-2016 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -inherit flag-o-matic toolchain-funcs
44 -
45 -DESCRIPTION="Popular short read aligner for Next-generation sequencing data"
46 -HOMEPAGE="http://bowtie-bio.sourceforge.net/"
47 -SRC_URI="mirror://sourceforge/bowtie-bio/${P}-src.zip"
48 -
49 -LICENSE="Artistic"
50 -SLOT="1"
51 -KEYWORDS="~amd64 ~x86 ~x64-macos"
52 -
53 -IUSE="examples +tbb"
54 -
55 -RDEPEND="tbb? ( dev-cpp/tbb )"
56 -DEPEND="${RDEPEND}
57 - sci-biology/seqan:1.4
58 - app-arch/unzip"
59 -
60 -DOCS=( AUTHORS NEWS TUTORIAL doc/README )
61 -HTML_DOCS=( doc/{manual.html,style.css} )
62 -
63 -PATCHES=(
64 - "${FILESDIR}/${P}-_ContextLss-1.1-1.4.patch"
65 - "${FILESDIR}/${P}-fix-setBegin-call.patch"
66 - "${FILESDIR}/${P}-seqan-popcount.patch"
67 - "${FILESDIR}/${P}-seqan-rename-ChunkPool.patch"
68 - "${FILESDIR}/${P}-seqan-rename-fill-to-resize.patch"
69 - "${FILESDIR}/${P}-spelling.patch"
70 - "${FILESDIR}/${P}-tbb-tinythread-missing.patch"
71 - "${FILESDIR}/${P}-unbundle-seqan.patch"
72 -)
73 -
74 -src_prepare() {
75 - default
76 -
77 - # remove bundled libraries, use system seqan 1.4
78 - rm -rf SeqAn-1.1/ third_party/ || die
79 -
80 - # innocuous non-security flags, prevent log pollution
81 - append-cxxflags \
82 - -Wno-unused-local-typedefs \
83 - -Wno-unused-but-set-variable \
84 - -Wno-unused-variable
85 -}
86 -
87 -src_compile() {
88 - emake \
89 - CC="$(tc-getCC)" \
90 - CPP="$(tc-getCXX)" \
91 - CFLAGS="" \
92 - CXXFLAGS="" \
93 - EXTRA_FLAGS="${LDFLAGS}" \
94 - RELEASE_FLAGS="${CXXFLAGS}" \
95 - WITH_TBB="$(usex tbb 1 0)"
96 -}
97 -
98 -src_install() {
99 - dobin ${PN} ${PN}-*
100 -
101 - exeinto /usr/libexec/${PN}
102 - doexe scripts/*
103 -
104 - newman MANUAL ${PN}.1
105 - einstalldocs
106 -
107 - if use examples; then
108 - insinto /usr/share/${PN}
109 - doins -r genomes indexes
110 - fi
111 -}
112
113 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-_ContextLss-1.1-1.4.patch b/sci-biology/bowtie/files/bowtie-1.1.2-_ContextLss-1.1-1.4.patch
114 deleted file mode 100644
115 index 78b9c01a046..00000000000
116 --- a/sci-biology/bowtie/files/bowtie-1.1.2-_ContextLss-1.1-1.4.patch
117 +++ /dev/null
118 @@ -1,17 +0,0 @@
119 -Description: Change class name of _Context_LSS
120 - New version 1.4 of SeQan uses a different name of the class.
121 -Forwarded: no
122 -Author: Gert Wollny <gw.fossdev@×××××.com>
123 -Last-Update: 2014-100-06
124 -
125 ---- a/diff_sample.h
126 -+++ b/diff_sample.h
127 -@@ -856,7 +856,7 @@ void DifferenceCoverSample<TStr>::build(
128 - {
129 - Timer timer(cout, " Invoking Larsson-Sadakane on ranks time: ", this->verbose());
130 - VMSG_NL(" Invoking Larsson-Sadakane on ranks");
131 -- _Context_LSS<TIndexOff> c;
132 -+ ContextLss_<TIndexOff> c;
133 - c.suffixsort(
134 - (TIndexOff*)begin(_isaPrime, Standard()),
135 - (TIndexOff*)begin(sPrime, Standard()),
136
137 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-fix-setBegin-call.patch b/sci-biology/bowtie/files/bowtie-1.1.2-fix-setBegin-call.patch
138 deleted file mode 100644
139 index af7f7f61cd5..00000000000
140 --- a/sci-biology/bowtie/files/bowtie-1.1.2-fix-setBegin-call.patch
141 +++ /dev/null
142 @@ -1,42 +0,0 @@
143 -Description: Proper type-casting in using seqan::_setBegin().
144 - Required by newer versions of GCC.
145 -Forwarded: no
146 -Author: Ognyan Kulev <ogi@××××××.org>
147 -Last-Update: 2013-04-18
148 -
149 ---- a/pat.h
150 -+++ b/pat.h
151 -@@ -82,20 +82,20 @@ struct ReadBuf {
152 - ~ReadBuf() {
153 - clearAll(); reset();
154 - // Prevent seqan from trying to free buffers
155 -- _setBegin(patFw, NULL);
156 -- _setBegin(patRc, NULL);
157 -- _setBegin(qual, NULL);
158 -- _setBegin(patFwRev, NULL);
159 -- _setBegin(patRcRev, NULL);
160 -- _setBegin(qualRev, NULL);
161 -- _setBegin(name, NULL);
162 -+ _setBegin(patFw, (Dna5*)NULL);
163 -+ _setBegin(patRc, (Dna5*)NULL);
164 -+ _setBegin(qual, (char*)NULL);
165 -+ _setBegin(patFwRev, (Dna5*)NULL);
166 -+ _setBegin(patRcRev, (Dna5*)NULL);
167 -+ _setBegin(qualRev, (char*)NULL);
168 -+ _setBegin(name, (char*)NULL);
169 - for(int j = 0; j < 3; j++) {
170 -- _setBegin(altPatFw[j], NULL);
171 -- _setBegin(altPatFwRev[j], NULL);
172 -- _setBegin(altPatRc[j], NULL);
173 -- _setBegin(altPatRcRev[j], NULL);
174 -- _setBegin(altQual[j], NULL);
175 -- _setBegin(altQualRev[j], NULL);
176 -+ _setBegin(altPatFw[j], (Dna5*)NULL);
177 -+ _setBegin(altPatFwRev[j], (Dna5*)NULL);
178 -+ _setBegin(altPatRc[j], (Dna5*)NULL);
179 -+ _setBegin(altPatRcRev[j], (Dna5*)NULL);
180 -+ _setBegin(altQual[j], (char*)NULL);
181 -+ _setBegin(altQualRev[j], (char*)NULL);
182 - }
183 - }
184 -
185
186 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch b/sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch
187 deleted file mode 100644
188 index 52cb4f49652..00000000000
189 --- a/sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch
190 +++ /dev/null
191 @@ -1,24 +0,0 @@
192 -Description: Use SeqAn 1.4's seqan::popCount() function instead of own function
193 -Author: Ognyan Kulev <ogi@××××××.org>
194 -Last-Update: 2014-03-08
195 ----
196 -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
197 ---- a/diff_sample.h
198 -+++ b/diff_sample.h
199 -@@ -476,6 +476,8 @@ static String<T> getDeltaMap(T v, const
200 - return amap;
201 - }
202 -
203 -+// Debian: Use seqan::popCount
204 -+#if 0
205 - /**
206 - * Return population count (count of all bits set to 1) of i.
207 - */
208 -@@ -488,6 +490,7 @@ static unsigned int popCount(T i) {
209 - }
210 - return cnt;
211 - }
212 -+#endif
213 -
214 - /**
215 - * Calculate log-base-2 of i
216
217 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-seqan-rename-ChunkPool.patch b/sci-biology/bowtie/files/bowtie-1.1.2-seqan-rename-ChunkPool.patch
218 deleted file mode 100644
219 index 171f9bab8fa..00000000000
220 --- a/sci-biology/bowtie/files/bowtie-1.1.2-seqan-rename-ChunkPool.patch
221 +++ /dev/null
222 @@ -1,382 +0,0 @@
223 -Description: Renamed ChunkPool class to bowtieChunkPool.
224 - SeqAn has a class with the same name and fatal name collision happens.
225 -Forwarded: no
226 -Author: Ognyan Kulev <ogi@××××××.org>
227 -Last-Update: 2013-04-18
228 -
229 ---- a/aligner.h
230 -+++ b/aligner.h
231 -@@ -337,7 +337,7 @@ public:
232 - bool verbose,
233 - bool quiet,
234 - int maxBts,
235 -- ChunkPool *pool,
236 -+ bowtieChunkPool *pool,
237 - int *btCnt = NULL,
238 - AlignerMetrics *metrics = NULL) :
239 - Aligner(true, rangeMode),
240 -@@ -544,7 +544,7 @@ protected:
241 - bool quiet_; // don't print informational/warning info
242 -
243 - const int maxBts_;
244 -- ChunkPool *pool_;
245 -+ bowtieChunkPool *pool_;
246 - int *btCnt_;
247 - AlignerMetrics *metrics_;
248 - };
249 -@@ -585,7 +585,7 @@ public:
250 - bool verbose,
251 - bool quiet,
252 - int maxBts,
253 -- ChunkPool *pool,
254 -+ bowtieChunkPool *pool,
255 - int *btCnt) :
256 - Aligner(true, rangeMode),
257 - refs_(refs),
258 -@@ -1358,7 +1358,7 @@ protected:
259 - bool quiet_;
260 -
261 - int maxBts_;
262 -- ChunkPool *pool_;
263 -+ bowtieChunkPool *pool_;
264 - int *btCnt_;
265 -
266 - // Range-finding state for first mate
267 -@@ -1482,7 +1482,7 @@ public:
268 - bool verbose,
269 - bool quiet,
270 - int maxBts,
271 -- ChunkPool *pool,
272 -+ bowtieChunkPool *pool,
273 - int *btCnt) :
274 - Aligner(true, rangeMode),
275 - refs_(refs),
276 -@@ -2035,7 +2035,7 @@ protected:
277 - TDriver* driver_;
278 -
279 - // Pool for distributing chunks of best-first path descriptor memory
280 -- ChunkPool *pool_;
281 -+ bowtieChunkPool *pool_;
282 -
283 - bool verbose_;
284 - bool quiet_;
285 ---- a/aligner_0mm.h
286 -+++ b/aligner_0mm.h
287 -@@ -32,7 +32,7 @@ public:
288 - RangeCache* cacheFw,
289 - RangeCache* cacheBw,
290 - uint32_t cacheLimit,
291 -- ChunkPool *pool,
292 -+ bowtieChunkPool *pool,
293 - BitPairReference* refs,
294 - vector<String<Dna5> >& os,
295 - bool maqPenalty,
296 -@@ -124,7 +124,7 @@ private:
297 - RangeCache *cacheFw_;
298 - RangeCache *cacheBw_;
299 - const uint32_t cacheLimit_;
300 -- ChunkPool *pool_;
301 -+ bowtieChunkPool *pool_;
302 - BitPairReference* refs_;
303 - vector<String<Dna5> >& os_;
304 - bool maqPenalty_;
305 -@@ -164,7 +164,7 @@ public:
306 - RangeCache* cacheFw,
307 - RangeCache* cacheBw,
308 - uint32_t cacheLimit,
309 -- ChunkPool *pool,
310 -+ bowtieChunkPool *pool,
311 - BitPairReference* refs,
312 - vector<String<Dna5> >& os,
313 - bool reportSe,
314 -@@ -366,7 +366,7 @@ private:
315 - RangeCache *cacheFw_;
316 - RangeCache *cacheBw_;
317 - const uint32_t cacheLimit_;
318 -- ChunkPool *pool_;
319 -+ bowtieChunkPool *pool_;
320 - BitPairReference* refs_;
321 - vector<String<Dna5> >& os_;
322 - const bool reportSe_;
323 ---- a/aligner_1mm.h
324 -+++ b/aligner_1mm.h
325 -@@ -32,7 +32,7 @@ public:
326 - RangeCache *cacheFw,
327 - RangeCache *cacheBw,
328 - uint32_t cacheLimit,
329 -- ChunkPool *pool,
330 -+ bowtieChunkPool *pool,
331 - BitPairReference* refs,
332 - vector<String<Dna5> >& os,
333 - bool maqPenalty,
334 -@@ -161,7 +161,7 @@ private:
335 - RangeCache *cacheFw_;
336 - RangeCache *cacheBw_;
337 - const uint32_t cacheLimit_;
338 -- ChunkPool *pool_;
339 -+ bowtieChunkPool *pool_;
340 - BitPairReference* refs_;
341 - vector<String<Dna5> >& os_;
342 - const bool maqPenalty_;
343 -@@ -201,7 +201,7 @@ public:
344 - RangeCache *cacheFw,
345 - RangeCache *cacheBw,
346 - uint32_t cacheLimit,
347 -- ChunkPool *pool,
348 -+ bowtieChunkPool *pool,
349 - BitPairReference* refs,
350 - vector<String<Dna5> >& os,
351 - bool reportSe,
352 -@@ -478,7 +478,7 @@ private:
353 - RangeCache *cacheFw_;
354 - RangeCache *cacheBw_;
355 - const uint32_t cacheLimit_;
356 -- ChunkPool *pool_;
357 -+ bowtieChunkPool *pool_;
358 - BitPairReference* refs_;
359 - vector<String<Dna5> >& os_;
360 - const bool reportSe_;
361 ---- a/aligner_23mm.h
362 -+++ b/aligner_23mm.h
363 -@@ -33,7 +33,7 @@ public:
364 - RangeCache *cacheFw,
365 - RangeCache *cacheBw,
366 - uint32_t cacheLimit,
367 -- ChunkPool *pool,
368 -+ bowtieChunkPool *pool,
369 - BitPairReference* refs,
370 - vector<String<Dna5> >& os,
371 - bool maqPenalty,
372 -@@ -231,7 +231,7 @@ private:
373 - RangeCache *cacheFw_;
374 - RangeCache *cacheBw_;
375 - const uint32_t cacheLimit_;
376 -- ChunkPool *pool_;
377 -+ bowtieChunkPool *pool_;
378 - BitPairReference* refs_;
379 - vector<String<Dna5> >& os_;
380 - const bool maqPenalty_;
381 -@@ -273,7 +273,7 @@ public:
382 - RangeCache *cacheFw,
383 - RangeCache *cacheBw,
384 - uint32_t cacheLimit,
385 -- ChunkPool *pool,
386 -+ bowtieChunkPool *pool,
387 - BitPairReference* refs,
388 - vector<String<Dna5> >& os,
389 - bool reportSe,
390 -@@ -675,7 +675,7 @@ private:
391 - RangeCache *cacheFw_;
392 - RangeCache *cacheBw_;
393 - const uint32_t cacheLimit_;
394 -- ChunkPool *pool_;
395 -+ bowtieChunkPool *pool_;
396 - BitPairReference* refs_;
397 - vector<String<Dna5> >& os_;
398 - const bool reportSe_;
399 ---- a/aligner_seed_mm.h
400 -+++ b/aligner_seed_mm.h
401 -@@ -37,7 +37,7 @@ public:
402 - RangeCache* cacheFw,
403 - RangeCache* cacheBw,
404 - uint32_t cacheLimit,
405 -- ChunkPool *pool,
406 -+ bowtieChunkPool *pool,
407 - BitPairReference* refs,
408 - vector<String<Dna5> >& os,
409 - bool maqPenalty,
410 -@@ -554,7 +554,7 @@ private:
411 - RangeCache *cacheFw_;
412 - RangeCache *cacheBw_;
413 - const uint32_t cacheLimit_;
414 -- ChunkPool *pool_;
415 -+ bowtieChunkPool *pool_;
416 - BitPairReference* refs_;
417 - vector<String<Dna5> >& os_;
418 - bool strandFix_;
419 -@@ -598,7 +598,7 @@ public:
420 - RangeCache* cacheFw,
421 - RangeCache* cacheBw,
422 - uint32_t cacheLimit,
423 -- ChunkPool *pool,
424 -+ bowtieChunkPool *pool,
425 - BitPairReference* refs,
426 - vector<String<Dna5> >& os,
427 - bool reportSe,
428 -@@ -1375,7 +1375,7 @@ private:
429 - RangeCache *cacheFw_;
430 - RangeCache *cacheBw_;
431 - const uint32_t cacheLimit_;
432 -- ChunkPool *pool_;
433 -+ bowtieChunkPool *pool_;
434 - BitPairReference* refs_;
435 - vector<String<Dna5> >& os_;
436 - const bool reportSe_;
437 ---- a/ebwt_search.cpp
438 -+++ b/ebwt_search.cpp
439 -@@ -111,7 +111,7 @@ static bool strandFix; // attempt to fi
440 - static bool randomizeQuals; // randomize quality values
441 - static bool stats; // print performance stats
442 - static int chunkPoolMegabytes; // max MB to dedicate to best-first search frames per thread
443 --static int chunkSz; // size of single chunk disbursed by ChunkPool
444 -+static int chunkSz; // size of single chunk disbursed by bowtieChunkPool
445 - static bool chunkVerbose; // have chunk allocator output status messages?
446 - static bool recal;
447 - static int recalMaxCycle;
448 -@@ -223,7 +223,7 @@ static void resetOptions() {
449 - randomizeQuals = false; // randomize quality values
450 - stats = false; // print performance stats
451 - chunkPoolMegabytes = 64; // max MB to dedicate to best-first search frames per thread
452 -- chunkSz = 256; // size of single chunk disbursed by ChunkPool (in KB)
453 -+ chunkSz = 256; // size of single chunk disbursed by bowtieChunkPool (in KB)
454 - chunkVerbose = false; // have chunk allocator output status messages?
455 - recal = false;
456 - recalMaxCycle = 64;
457 -@@ -1201,7 +1201,7 @@ static void exactSearchWorkerStateful(vo
458 - PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
459 - HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);
460 -
461 -- ChunkPool *pool = new ChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
462 -+ bowtieChunkPool *pool = new bowtieChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
463 - UnpairedExactAlignerV1Factory alSEfact(
464 - ebwt,
465 - NULL,
466 -@@ -1385,7 +1385,7 @@ static void mismatchSearchWorkerFullStat
467 - // Global initialization
468 - PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
469 - HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);
470 -- ChunkPool *pool = new ChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
471 -+ bowtieChunkPool *pool = new bowtieChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
472 -
473 - Unpaired1mmAlignerV1Factory alSEfact(
474 - ebwtFw,
475 -@@ -1687,7 +1687,7 @@ static void twoOrThreeMismatchSearchWork
476 - PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
477 - HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);
478 -
479 -- ChunkPool *pool = new ChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
480 -+ bowtieChunkPool *pool = new bowtieChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
481 - Unpaired23mmAlignerV1Factory alSEfact(
482 - ebwtFw,
483 - &ebwtBw,
484 -@@ -2156,7 +2156,7 @@ static void seededQualSearchWorkerFullSt
485 - // Global initialization
486 - PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
487 - HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);
488 -- ChunkPool *pool = new ChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
489 -+ bowtieChunkPool *pool = new bowtieChunkPool(chunkSz * 1024, chunkPoolMegabytes * 1024 * 1024, chunkVerbose);
490 -
491 - AlignerMetrics *metrics = NULL;
492 - if(stats) {
493 ---- a/ebwt_search_backtrack.h
494 -+++ b/ebwt_search_backtrack.h
495 -@@ -2724,7 +2724,7 @@ public:
496 - bool verbose,
497 - bool quiet,
498 - bool mate1,
499 -- ChunkPool* pool,
500 -+ bowtieChunkPool* pool,
501 - int *btCnt) :
502 - SingleRangeSourceDriver<EbwtRangeSource>(
503 - params, rs, fw, sink, sinkPt, os, verbose,
504 -@@ -2927,7 +2927,7 @@ public:
505 - bool verbose,
506 - bool quiet,
507 - bool mate1,
508 -- ChunkPool* pool,
509 -+ bowtieChunkPool* pool,
510 - int *btCnt = NULL) :
511 - params_(params),
512 - rs_(rs),
513 -@@ -2986,7 +2986,7 @@ protected:
514 - bool verbose_;
515 - bool quiet_;
516 - bool mate1_;
517 -- ChunkPool* pool_;
518 -+ bowtieChunkPool* pool_;
519 - int *btCnt_;
520 - };
521 -
522 ---- a/pool.h
523 -+++ b/pool.h
524 -@@ -19,13 +19,13 @@
525 - * is set at construction time. Heap memory is only allocated at
526 - * construction and deallocated at destruction.
527 - */
528 --class ChunkPool {
529 -+class bowtieChunkPool {
530 - public:
531 - /**
532 - * Initialize a new pool with an initial size of about 'bytes'
533 - * bytes. Exit with an error message if we can't allocate it.
534 - */
535 -- ChunkPool(uint32_t chunkSz, uint32_t totSz, bool verbose_) :
536 -+ bowtieChunkPool(uint32_t chunkSz, uint32_t totSz, bool verbose_) :
537 - verbose(verbose_), patid(0), pool_(NULL), cur_(0),
538 - chunkSz_(chunkSz), totSz_(totSz), lim_(totSz/chunkSz),
539 - bits_(lim_), exhaustCrash_(false),
540 -@@ -38,7 +38,7 @@ public:
541 - }
542 - } catch(std::bad_alloc& e) {
543 - ThreadSafe _ts(&gLock);
544 -- std::cerr << "Error: Could not allocate ChunkPool of "
545 -+ std::cerr << "Error: Could not allocate bowtieChunkPool of "
546 - << totSz << " bytes" << std::endl;
547 - exhausted();
548 - throw 1; // Exit if we haven't already
549 -@@ -48,7 +48,7 @@ public:
550 - /**
551 - * Delete all the pools.
552 - */
553 -- ~ChunkPool() {
554 -+ ~bowtieChunkPool() {
555 - if(pool_ != NULL) delete[] pool_;
556 - }
557 -
558 -@@ -189,7 +189,7 @@ public:
559 - * Initialize a new pool with an initial size of about 'bytes'
560 - * bytes. Exit with an error message if we can't allocate it.
561 - */
562 -- AllocOnlyPool(ChunkPool* pool, const char *name) :
563 -+ AllocOnlyPool(bowtieChunkPool* pool, const char *name) :
564 - pool_(pool), name_(name), curPool_(0), cur_(0)
565 - {
566 - assert(pool != NULL);
567 -@@ -388,7 +388,7 @@ protected:
568 - lastCurInPool_.pop_back();
569 - }
570 -
571 -- ChunkPool* pool_;
572 -+ bowtieChunkPool* pool_;
573 - const char *name_;
574 - std::vector<T*> pools_; /// the memory pools
575 - uint32_t curPool_; /// pool we're current allocating from
576 ---- a/range_source.h
577 -+++ b/range_source.h
578 -@@ -1388,7 +1388,7 @@ class PathManager {
579 -
580 - public:
581 -
582 -- PathManager(ChunkPool* cpool_, int *btCnt, bool verbose, bool quiet) :
583 -+ PathManager(bowtieChunkPool* cpool_, int *btCnt, bool verbose, bool quiet) :
584 - branchQ_(verbose, quiet),
585 - cpool(cpool_),
586 - bpool(cpool, "branch"),
587 -@@ -1637,7 +1637,7 @@ protected:
588 -
589 - public:
590 -
591 -- ChunkPool *cpool; // pool for generic chunks of memory
592 -+ bowtieChunkPool *cpool; // pool for generic chunks of memory
593 - AllocOnlyPool<Branch> bpool; // pool for allocating Branches
594 - AllocOnlyPool<RangeState> rpool; // pool for allocating RangeStates
595 - AllocOnlyPool<Edit> epool; // pool for allocating Edits
596 -@@ -1811,7 +1811,7 @@ public:
597 - bool quiet,
598 - bool mate1,
599 - uint32_t minCostAdjustment,
600 -- ChunkPool* pool,
601 -+ bowtieChunkPool* pool,
602 - int *btCnt) :
603 - RangeSourceDriver<TRangeSource>(true, minCostAdjustment),
604 - len_(0), mate1_(mate1),
605
606 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-seqan-rename-fill-to-resize.patch b/sci-biology/bowtie/files/bowtie-1.1.2-seqan-rename-fill-to-resize.patch
607 deleted file mode 100644
608 index 38664aeee98..00000000000
609 --- a/sci-biology/bowtie/files/bowtie-1.1.2-seqan-rename-fill-to-resize.patch
610 +++ /dev/null
611 @@ -1,85 +0,0 @@
612 -Description: Renamed seqan::fill function calls to use seqan::resize.
613 - SeqAn 1.3 renamed seqan::fill() to seqan::resize().
614 - SeqAn ticket: http://trac.seqan.de/ticket/77
615 -Forwarded: no
616 -Author: Ognyan Kulev <ogi@××××××.org>
617 -Last-Update: 2014-08-13
618 -
619 ---- a/blockwise_sa.h
620 -+++ b/blockwise_sa.h
621 -@@ -456,8 +456,8 @@ void KarkkainenBlockwiseSA<TStr>::buildS
622 - try {
623 - // Allocate and initialize containers for holding bucket
624 - // sizes and representatives.
625 -- fill(bucketSzs, numBuckets, 0, Exact());
626 -- fill(bucketReps, numBuckets, OFF_MASK, Exact());
627 -+ resize(bucketSzs, numBuckets, 0, Exact());
628 -+ resize(bucketReps, numBuckets, OFF_MASK, Exact());
629 - } catch(bad_alloc &e) {
630 - if(this->_passMemExc) {
631 - throw e; // rethrow immediately
632 -@@ -816,7 +816,7 @@ void KarkkainenBlockwiseSA<TStr>::nextBl
633 - // Not the last bucket
634 - assert_lt(_cur, length(_sampleSuffs));
635 - hi = _sampleSuffs[_cur];
636 -- fill(zHi, _dcV, 0, Exact());
637 -+ resize(zHi, _dcV, 0, Exact());
638 - assert_eq(zHi[0], 0);
639 - calcZ(t, hi, zHi, this->verbose(), this->sanityCheck());
640 - }
641 -@@ -825,7 +825,7 @@ void KarkkainenBlockwiseSA<TStr>::nextBl
642 - assert_gt(_cur, 0);
643 - assert_leq(_cur, length(_sampleSuffs));
644 - lo = _sampleSuffs[_cur-1];
645 -- fill(zLo, _dcV, 0, Exact());
646 -+ resize(zLo, _dcV, 0, Exact());
647 - assert_gt(_dcV, 3);
648 - assert_eq(zLo[0], 0);
649 - calcZ(t, lo, zLo, this->verbose(), this->sanityCheck());
650 ---- a/diff_sample.h
651 -+++ b/diff_sample.h
652 -@@ -452,7 +452,7 @@ static String<T> getDeltaMap(T v, const
653 - // Declare anchor-map-related items
654 - String<T> amap;
655 - size_t amapEnts = 1;
656 -- fill(amap, v, 0xffffffff, Exact());
657 -+ resize(amap, v, 0xffffffff, Exact());
658 - amap[0] = 0;
659 - // Print out difference cover (and optionally calculate
660 - // anchor map)
661 -@@ -532,7 +532,7 @@ public:
662 - assert_gt(_d, 0);
663 - assert_eq(1, popCount(_v)); // must be power of 2
664 - // Build map from d's to idx's
665 -- fill(_dInv, _v, 0xffffffff, Exact());
666 -+ resize(_dInv, _v, 0xffffffff, Exact());
667 - uint32_t lim = (uint32_t)length(_ds);
668 - for(uint32_t i = 0; i < lim; i++) {
669 - _dInv[_ds[i]] = i;
670 -@@ -656,7 +656,7 @@ void DifferenceCoverSample<TStr>::doBuil
671 - VMSG_NL(" Doing sanity check");
672 - TIndexOffU added = 0;
673 - String<TIndexOffU> sorted;
674 -- fill(sorted, length(_isaPrime), OFF_MASK, Exact());
675 -+ resize(sorted, length(_isaPrime), OFF_MASK, Exact());
676 - for(size_t di = 0; di < this->d(); di++) {
677 - uint32_t d = _ds[di];
678 - size_t i = 0;
679 -@@ -717,7 +717,7 @@ void DifferenceCoverSample<TStr>::buildS
680 - assert_eq(length(_doffs), d+1);
681 - // Size sPrime appropriately
682 - reserve(sPrime, sPrimeSz+1, Exact()); // reserve extra slot for LS
683 -- fill(sPrime, sPrimeSz, OFF_MASK, Exact());
684 -+ resize(sPrime, sPrimeSz, OFF_MASK, Exact());
685 - // Slot suffixes from text into sPrime according to the mu
686 - // mapping; where the mapping would leave a blank, insert a 0
687 - TIndexOffU added = 0;
688 -@@ -823,7 +823,7 @@ void DifferenceCoverSample<TStr>::build(
689 - // arrays back into sPrime.
690 - VMSG_NL(" Allocating rank array");
691 - reserve(_isaPrime, length(sPrime)+1, Exact());
692 -- fill(_isaPrime, length(sPrime), OFF_MASK, Exact());
693 -+ resize(_isaPrime, length(sPrime), OFF_MASK, Exact());
694 - assert_gt(length(_isaPrime), 0);
695 - {
696 - Timer timer(cout, " Ranking v-sort output time: ", this->verbose());
697
698 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-spelling.patch b/sci-biology/bowtie/files/bowtie-1.1.2-spelling.patch
699 deleted file mode 100644
700 index ff484dfa3eb..00000000000
701 --- a/sci-biology/bowtie/files/bowtie-1.1.2-spelling.patch
702 +++ /dev/null
703 @@ -1,48 +0,0 @@
704 -Author: Andreas Tille <tille@××××××.org>
705 -Last-Update: Thu, 01 Oct 2015 09:47:23 +0200
706 -Description: Fix spelling
707 -
708 ---- a/MANUAL
709 -+++ b/MANUAL
710 -@@ -544,7 +544,7 @@ The `bowtie`, `bowtie-build` and `bowtie
711 - actually wrapper scripts that call binary programs as appropriate. The
712 - wrappers shield users from having to distinguish between "small" and
713 - "large" index formats, discussed briefly in the following section. The
714 --appropiate index type is selected based on the input size.
715 -+appropriate index type is selected based on the input size.
716 -
717 - It is recommended that you always run the bowtie wrappers and not run
718 - the binaries directly.
719 ---- a/MANUAL.markdown
720 -+++ b/MANUAL.markdown
721 -@@ -559,7 +559,7 @@ The `bowtie`, `bowtie-build` and `bowtie
722 - actually wrapper scripts that call binary programs as appropriate. The
723 - wrappers shield users from having to distinguish between "small" and
724 - "large" index formats, discussed briefly in the following section. The
725 --appropiate index type is selected based on the input size.
726 -+appropriate index type is selected based on the input size.
727 -
728 - It is recommended that you always run the bowtie wrappers and not run
729 - the binaries directly.
730 ---- a/doc/manual.html
731 -+++ b/doc/manual.html
732 -@@ -201,7 +201,7 @@ T2302111203131231130300111123220
733 - <p>Like other platforms, SOLiD supports generation of paired-end reads. When colorspace alignment is enabled, the default paired-end orientation setting is <a href="#bowtie-options-fr"><code>--ff</code></a>. This is because most SOLiD datasets have that orientation.</p>
734 - <p>Note that SOLiD-generated read files can have &quot;orphaned&quot; mates; i.e. mates without a correpsondingly-named mate in the other file. To avoid problems due to orphaned mates, SOLiD paired-end output should first be converted to <code>.csfastq</code> files with unpaired mates omitted. This can be accomplished using, for example, [Galaxy]'s conversion tool (click &quot;NGS: QC and manipulation&quot;, then &quot;SOLiD-to-FASTQ&quot; in the left-hand sidebar).</p>
735 - <h2 id="wrapper-scripts">Wrapper scripts</h2>
736 --<p>The <code>bowtie</code>, <code>bowtie-build</code> and <code>bowtie-inspect</code> executables are actually wrapper scripts that call binary programs as appropriate. The wrappers shield users from having to distinguish between &quot;small&quot; and &quot;large&quot; index formats, discussed briefly in the following section. The appropiate index type is selected based on the input size.</p>
737 -+<p>The <code>bowtie</code>, <code>bowtie-build</code> and <code>bowtie-inspect</code> executables are actually wrapper scripts that call binary programs as appropriate. The wrappers shield users from having to distinguish between &quot;small&quot; and &quot;large&quot; index formats, discussed briefly in the following section. The appropriate index type is selected based on the input size.</p>
738 - <p>It is recommended that you always run the bowtie wrappers and not run the binaries directly.</p>
739 - <h2 id="small-and-large-indexes">Small and large indexes</h2>
740 - <p><code>bowtie-build</code> can index reference genomes of any size. For genomes less than about 4 billion nucleotides in length, <code>bowtie-build</code> builds a &quot;small&quot; index using 32-bit numbers in various parts of the index. When the genome is longer, <code>bowtie-build</code> builds a &quot;large&quot; index using 64-bit numbers. Small indexes are stored in files with the <code>.ebwt</code> extension, and large indexes are stored in files with the <code>.ebwtl</code> extension. The user need not worry about whether a particular index is small or large; the wrapper scripts will automatically build and use the appropriate index.</p>
741 ---- a/ref_read.cpp
742 -+++ b/ref_read.cpp
743 -@@ -263,7 +263,7 @@ fastaRefReadSizes(vector<FileBuf*>& in,
744 - << "reference into smaller chunks and index each independently." << endl;
745 - #else
746 - cerr << "Error: Reference sequence has more than 2^32-1 characters! Please try to" << endl
747 -- << "build a large index instead using the appropiate options." << endl;
748 -+ << "build a large index instead using the appropriate options." << endl;
749 - #endif
750 - throw 1;
751 - }
752
753 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-tbb-tinythread-missing.patch b/sci-biology/bowtie/files/bowtie-1.1.2-tbb-tinythread-missing.patch
754 deleted file mode 100644
755 index bc0f1d09557..00000000000
756 --- a/sci-biology/bowtie/files/bowtie-1.1.2-tbb-tinythread-missing.patch
757 +++ /dev/null
758 @@ -1,18 +0,0 @@
759 -Fixes missing tinythread.cpp when using TBB:
760 -
761 -ebwt_search.cpp:(.text+0x91bb): undefined reference to `tthread::thread::join()'
762 -
763 ---- bowtie-1.1.2/Makefile
764 -+++ bowtie-1.1.2/Makefile
765 -@@ -106,10 +106,7 @@
766 - endif
767 -
768 - OTHER_CPPS = ccnt_lut.cpp ref_read.cpp alphabet.cpp shmem.cpp \
769 -- edit.cpp ebwt.cpp
770 --ifneq (1,$(WITH_TBB))
771 -- OTHER_CPPS += tinythread.cpp
772 --endif
773 -+ edit.cpp ebwt.cpp tinythread.cpp
774 -
775 - SEARCH_CPPS = qual.cpp pat.cpp ebwt_search_util.cpp ref_aligner.cpp \
776 - log.cpp hit_set.cpp refmap.cpp annot.cpp sam.cpp \
777
778 diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-unbundle-seqan.patch b/sci-biology/bowtie/files/bowtie-1.1.2-unbundle-seqan.patch
779 deleted file mode 100644
780 index 54391ae415a..00000000000
781 --- a/sci-biology/bowtie/files/bowtie-1.1.2-unbundle-seqan.patch
782 +++ /dev/null
783 @@ -1,27 +0,0 @@
784 -Description: Use Debian packaged SeqAn library instead of copy in upstream source
785 -Author: Andreas Tille <tille@××××××.org>
786 -Date: 2011-01-30
787 -Last-Update: 2013-04-18
788 -Reviewed-by: Ognyan Kulev <ogi@××××××.org>
789 -
790 ---- a/Makefile
791 -+++ b/Makefile
792 -@@ -5,9 +5,7 @@
793 - prefix = /usr/local
794 - bindir = $(prefix)/bin
795 -
796 --SEQAN_DIR = SeqAn-1.1
797 --SEQAN_INC = -I $(SEQAN_DIR)
798 --INC = $(SEQAN_INC) -I third_party
799 -+INC = `pkg-config --cflags seqan-1.4`
800 - CPP = g++
801 - CXX = $(CPP)
802 - CC = gcc
803 -@@ -168,7 +166,6 @@
804 - $(wildcard genomes/NC_008253.fna) \
805 - $(wildcard reads/e_coli_1000.*) \
806 - $(wildcard reads/e_coli_1000_*) \
807 -- SeqAn-1.1 \
808 - bowtie \
809 - bowtie-build \
810 - bowtie-inspect \