Giter VIP home page Giter VIP logo

easy_bwast's Introduction

easy_bwast

Easy Blast Wrapper And Sequence Trimmer

Given n accessions, downloads the fasta for each accession from NCBI, run command-line BLAST on these fastas, and loads the comparison up in ACT, in just one step.

This is just a simple wrapper on bwast so that there is no need to download the sequences from NCBI yourself, and is easier to install.

Quick view

Running:

./easy_bwast.py -e <your_email> NZ_AP024098.1 NZ_CP022793.1

will download the fasta for both accessions, run blast and load the alignments on ACT, and show this screen to you: act_example.png. We download accessions with NCBI Entrez, which requires you to specify your email address with each request.

Installing dependencies

Create the conda env running: conda env create -f environment.yaml. Then just activate the environment to use easy_bwast: conda activate easy_bwast.

Usage

$ ./easy_bwast.py -h
usage: easy_bwast.py [-h] -e EMAIL input [input ...]

Wrapper script to run blast and ACT on accessions without needing to download
them.

positional arguments:
  input                 Specify at least 2 accessions with versions (e.g.
                        NZ_AP024098.1, NZ_CP022793.1, etc)

optional arguments:
  -h, --help            show this help message and exit
  -e EMAIL, --email EMAIL
                        NCBI requires you to specify your email address with
                        each request.

TODO

  • Enable all CLI options from bwast;
  • Make bioconda package;

easy_bwast's People

Contributors

bawee avatar leoisl 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.