Code Monkey home page Code Monkey logo

kraken_db_install_scripts's Introduction

Kraken_db_install_scripts

Updated Kraken DB install scripts to cope with new-ish NCBI structure

Dependencies

Usage

Usage is very similar to adding a custom database as explained in the Kraken manual.

First, download the taxonomy:

DB_NAME="kraken_db"
kraken_shell_scripts/kraken-build --download-taxonomy --db $DB_NAME

This step will download taxonomy tree info and the GI to taxid mapping file. Since we're manually adding a new library, the GI's will not be used, and the accessions numbers will be mapped to the taxids at the next steps

Then, download the genomes you want to add the your kraken database. With the perl scripts from this directory, you can download:

  • complete genomes from refseq:

    • archaeal genomes
    • bacterial genomes
    • fungal genomes
    • protozoan genomes
    • viral genomes
  • Homo_sapiens.GRCh38 (primary assembly)

If you want to install the complete viral genomes from RefSeq, per example:

perl download_viral.pl
find viral/ -name '*.fna' -print0 | \
    xargs -0 -I{} -n1 kraken_shell_scripts/kraken-build \
    --add-to-library {} --db $DB_NAME
kraken_shell_scripts/kraken-build --build --db $DB_NAME

License

The scripts under kraken_shell_scripts are GPL3
The rest is MIT

kraken_db_install_scripts's People

Contributors

bergeycm avatar hadrieng avatar sjaenick avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.