[med-svn] [Git][med-team/kraken2][upstream] New upstream version 2.1.1
Nilesh Patra
gitlab at salsa.debian.org
Thu Nov 12 17:59:25 GMT 2020
Nilesh Patra pushed to branch upstream at Debian Med / kraken2
Commits:
48fd9876 by Nilesh Patra at 2020-11-12T23:23:46+05:30
New upstream version 2.1.1
- - - - -
6 changed files:
- CHANGELOG.md
- docs/MANUAL.html
- docs/top.html
- install_kraken2.sh
- scripts/standard_installation.sh
- src/hyperloglogplus.h
Changes:
=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,12 @@
# Changelog
+## [2.1.1] - 2020-11-08
+
+### Fixed
+- Compilation error with GCC 10, omission of cstdint header
+- Removed --skip-maps from standard install due to addition of plasmids,
+ which require acc/taxid maps
+
## [2.1.0] - 2020-10-13
### Added
=====================================
docs/MANUAL.html
=====================================
@@ -13,7 +13,7 @@
<div class="pretoc">
<p class="title">Kraken taxonomic sequence classification system</p>
- <p class="version">Version 2.1.0</p>
+ <p class="version">Version 2.1.1</p>
<p>Operating Manual</p>
</div>
=====================================
docs/top.html
=====================================
@@ -1,7 +1,7 @@
<div class="pretoc">
<p class="title">Kraken taxonomic sequence classification system</p>
- <p class="version">Version 2.1.0</p>
+ <p class="version">Version 2.1.1</p>
<p>Operating Manual</p>
</div>
=====================================
install_kraken2.sh
=====================================
@@ -6,7 +6,7 @@
set -e
-VERSION="2.1.0"
+VERSION="2.1.1"
if [ -z "$1" ] || [ -n "$2" ]
then
=====================================
scripts/standard_installation.sh
=====================================
@@ -26,7 +26,7 @@ if [ -n "$KRAKEN2_USE_FTP" ]; then
ftp_flag="--use-ftp"
fi
-kraken2-build --db $KRAKEN2_DB_NAME --download-taxonomy --skip-maps $masking_flag $protein_flag $ftp_flag
+kraken2-build --db $KRAKEN2_DB_NAME --download-taxonomy $masking_flag $protein_flag $ftp_flag
kraken2-build --db $KRAKEN2_DB_NAME --download-library archaea $masking_flag $protein_flag $ftp_flag
kraken2-build --db $KRAKEN2_DB_NAME --download-library bacteria $masking_flag $protein_flag $ftp_flag
kraken2-build --db $KRAKEN2_DB_NAME --download-library viral $masking_flag $protein_flag $ftp_flag
=====================================
src/hyperloglogplus.h
=====================================
@@ -5,24 +5,23 @@
*/
/*
- * Implementation of 64-bit HyperLogLog algorithm by Flajolet et al.,
- * with sparse mode for increased precision with low cardinalities (Stefan Heule et al.), and
+ * Implementation of 64-bit HyperLogLog algorithm by Flajolet et al.,
+ * with sparse mode for increased precision with low cardinalities (Stefan Heule et al.), and
* an improved estimator that does not rely on empirical bias correction data (Otmar Ertl)
*/
#ifndef HYPERLOGLOGPLUS_H_
#define HYPERLOGLOGPLUS_H_
-#include<vector>
-#include<unordered_set>
+#include "kraken2_headers.h"
using namespace std;
//#define HLL_DEBUG
//#define HLL_DEBUG2
-#ifdef HLL_DEBUG
+#ifdef HLL_DEBUG
#define D(x) x
-#else
+#else
#define D(x)
#endif
@@ -36,7 +35,7 @@ typedef unordered_set<uint32_t> SparseListType;
// Other possible SparseList types:
// // typedef vector<uint32_t> SparseListType;
// The sorted vector implementation is pretty inefficient currently, as the vector
-// is always kept sorted.
+// is always kept sorted.
// //typedef unordered_set<uint32_t, NoHash<uint32_t> > SparseListType;
// No real performance gain from using the hash value directly - and probably problems
// with the bucket assignment, since unordered_set expects size_t hashes
@@ -59,10 +58,10 @@ private:
HASH (*bit_mixer) (uint64_t);
// sparse versions of p and m
- static const uint8_t pPrime = 25; // precision when using a sparse representation
+ static const uint8_t pPrime = 25; // precision when using a sparse representation
// which encodes the rank + index in 32 bits:
- // 25 bits for index +
- // 6 bits for rank +
+ // 25 bits for index +
+ // 6 bits for rank +
// 1 flag bit indicating if bits p..pPrime are 0
static const uint32_t mPrime = 1 << pPrime; // 2^pPrime
@@ -93,10 +92,10 @@ public:
uint64_t cardinality() const; // returns ertlCardinality()
uint64_t size() const; // returns ertlCardinality()
// HLL++ estimator of Heule et al., 2015. Uses empirical bias correction factors
- uint64_t heuleCardinality(bool correct_bias = true) const;
+ uint64_t heuleCardinality(bool correct_bias = true) const;
// Improved estimator of Ertl, 2017. Does not rely on empirical data
uint64_t ertlCardinality() const;
- // Flayolet's cardinality estimator without bias correction
+ // Flajolet's cardinality estimator without bias correction
uint64_t flajoletCardinality(bool use_sparse_precision = true) const;
uint64_t nObserved() const;
@@ -108,4 +107,3 @@ private:
};
#endif /* HYPERLOGLOGPLUS_H_ */
-
View it on GitLab: https://salsa.debian.org/med-team/kraken2/-/commit/48fd98765e2e0f5d6af41ed6baa9608bc4fbe917
--
View it on GitLab: https://salsa.debian.org/med-team/kraken2/-/commit/48fd98765e2e0f5d6af41ed6baa9608bc4fbe917
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201112/91da5f78/attachment-0001.html>
More information about the debian-med-commit
mailing list