Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/DerrickWood/kraken2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer Lu committed Apr 21, 2019
2 parents 562c290 + f7268d1 commit 439254e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

### Changed
- Added lookup table to speed up parsing in MinimizerScanner class
- Default parameters for minimizer lengths and spaces changed (spaces=7 for
nucleotide search, length=12 for translated search)

### Fixed
- Linked space expansion value for proteins to constant used by MinimizerScanner
Expand Down
6 changes: 3 additions & 3 deletions scripts/kraken2-build
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ if (! -e "$KRAKEN2_DIR/classify") {
$ENV{"KRAKEN2_DIR"} = $KRAKEN2_DIR;
$ENV{"PATH"} = "$KRAKEN2_DIR:$ENV{PATH}";

my $DEF_AA_MINIMIZER_LEN = 15;
my $DEF_AA_MINIMIZER_LEN = 12;
my $DEF_AA_KMER_LEN = 15;
my $DEF_AA_MINIMIZER_SPACES = 0;
my $DEF_NT_MINIMIZER_LEN = 31;
my $DEF_NT_KMER_LEN = 35;
my $DEF_NT_MINIMIZER_SPACES = 6;
my $DEF_NT_MINIMIZER_SPACES = 7;
my $DEF_THREAD_CT = 1;

my @VALID_LIBRARY_TYPES = qw/archaea bacteria plasmid viral plant
Expand Down Expand Up @@ -201,7 +201,7 @@ Task options (exactly one must be selected):
--version Print version information
Options:
--db NAME Kraken 2 DB/library name (mandatory except for
--db NAME Kraken 2 DB name (mandatory except for
--help/--version)
--threads # Number of threads (def: $DEF_THREAD_CT)
--kmer-len NUM K-mer length in bp/aa (build task only;
Expand Down

0 comments on commit 439254e

Please sign in to comment.