GithubHelp home page GithubHelp logo

blast_amg_detection's Introduction

BLAST_AMG_detection

Pipeline for detection of potential AMG in assembled metagenome using BLASTP

Requirements

BLASTP databases

This pipeline necessites two distinct BLASTP databases. One should contain bacterial proteins and another only viral proteins. The databases should be accompanied with a log containing Figfam ID present in the bacterial database and their annotations. Finaly a taxonomic log should provide taxonomic informations regarding the bacterial sequences present in the database. A pipeline to construct the bacterial database and necessary logs is available in https://github.com/aponsero/CreateDB-BLASTP-Patric .

BLAST

ncbi-BLAST+ (at least version 2.3.0) should be previously installed and included in the user PATH.

Prodigal

Prodigal (at least version 2.6) should be installed. The location of installation should be provided in the config file. Prodigal is available at https://github.com/hyattpd/Prodigal .

Quick start

Edit scripts/config.sh file

please modify the

  • SAMPLE = indicate here the metagenome file to analyze
  • SAMPLE_DIR = indicate here the output directory
  • BACTERIAL_DB = indicate here the BLASTP Bacterial file (.faa)
  • VIRAL_DB = indicate here the BLASTP viral file (.faa)
  • FIG_LOG = indicate here the FigFam log
  • TAX_LOG = indicate here the taxonomic log
  • MAIL_USER = indicate here your arizona.edu email
  • GROUP = indicate here your group affiliation

You can also modify

  • BIN = change for your own bin directory.
  • PRODIGAL = give the prodigal install folder.
  • MAIL_TYPE = change the mail type option. By default set to "bea".
  • QUEUE = change the submission queue. By default set to "standard".

Split input file

Run ./split.sh

This command will remove short contigs from the dataset (<500pb) and split the remaining contigs in manageable files for the analysis (10.000 contigs/files). The split files are stored in $SAMPLE_DIR/div/raw.

Once the job is completed successfully, the analysis can be run.

Run analysis

Run ./submit.sh

Will place in queue two successive jobs for the analysis. The final output is located in $SAMPLE_DIR/results_AMG.log

blast_amg_detection's People

Contributors

aponsero avatar

Watchers

 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.