Code Monkey home page Code Monkey logo

ncbi-blast-dbs's Introduction

Fast download BLAST databases from NCBI

Database files (volumes) are downloaded in parallel: number of threads to use is determined automatically. MD5 checksum is verified and the database volume extracted upon download. Database volumes are not downloaded in a particular order. The volumes are updated if a newer version is available on the server, or re-downloaded if corrupt. Aborted downloads are safely resumed.

ncbi-blast-dbs is faster than NCBI's update_blastdb.pl. But unlike update_blastdb.pl, which is a pure Perl script, ncbi-blast-dbs delegates download and checksum verification to wget and md5sum and is thus not as universal.

Installation

gem install ncbi-blast-dbs

Note for macOS users

If md5sum command is not present, you can install it using Homebrew:

brew install md5sha1sum

Usage

List available BLAST databases

ncbi-blast-dbs

Download all volumes of a BLAST database

ncbi-blast-dbs nt nr

Databases are downloaded one after the other. Volumes of each database are downloaded in parallel. Downloads are placed in the current directory.

NCBI expects users to submit their email address when downloading data from their FTP server. To comply with that, download as:

email="my email address here" ncbi-blast-dbs nr

ncbi-blast-dbs's People

Contributors

yeban avatar ismailm avatar

Watchers

James Cloos avatar Simon Frost 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.