Coder Social home page Coder Social logo

linsalrob / atavide Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 2.0 131 KB

Atavistic processing of metagenomics data.

License: MIT License

Python 92.22% Perl 7.16% Shell 0.61%
bioinformatics bioinformatics-pipeline metagenomics metagenomics-toolkit metagenomics-binning metagenomics-counts

atavide's Introduction

Edwards Lab DOI DOI License: MIT GitHub language count

atavide

atavide is a simple, yet complete workflow for metagenomics data analysis, including QC/QA, optional host removal, assembly and cross-assembly, and individual read based annotations. We have also built in some advanced analytics including tools to assign annotations from reads to contigs, and to generate metagenome-assembled genomes in several different ways, giving you the power to explore your data!

atavide is 100% snakemake and conda, so you only need to install the snakemake workflow, and then everything else will be installed with conda.

It is definitely a work in progress, but you can run it with the following command

snakemake --configfile config/atavide.yaml -s workflow/atavide.snakefile --profile slurm

But you will need a slurm profile to make this work!

Installation and getting going

  1. Clone this repository from GitHub: git clone https://github.com/linsalrob/atavide.git
  2. Set the location of the repository: export ATAVIDE_DIR=$PWD/atavide/
  3. Install a few python dependencies. You probably already have most of these, but the one that trips up is pysam. We're working on getting conda configured properly to do this automatically. pip install -r $ATAVIDE_DIR/requirements.txt
  4. Install the appropriate super-focus database [hint: probably version 2] and set the SUPERFOCUS_DB directory to point to the location of those files.
  5. Copy the NCBI taxonomy (You really just need the taxdump.tar.gz file), and set the NCBI_TAXONOMY environment variable to point to the location of those files.
  6. Have a directory of fastq files with both _R1_ and _R2_ files in a data directory: $DATA_DIR/fastq
  7. Run atavide: cd $DATA_DIR && snakemake --configfile $ATAVIDE_DIR/atavide.yaml -s $ATAVIDE_DIR/workflow/atavide.snakefile --profile slurm

Current processing steps:

Steps:

  1. QC/QA with prinseq++
  2. optional host removal using bowtie2 and samtools, as described previously. To enable this, you need to provide a path to the host db and a host db.

Metagenome assembly

  1. pairwise assembly of each sample using megahit
  2. extraction of all reads that do not assemble using samtools flags
  3. assembly of all unassembled reads using megahit
  4. compilation of all contigs into a single unified set using Flye
  5. comparison of reads -> contigs to generate coverage

MAG creation

  1. metabat
  2. concoct
  3. Pairwise comparisons using turbocor followed by clustering

Read-based annotations

  1. Kraken2
  2. singlem
  3. SUPER-focus
  4. FOCUS

Want something else added to the suite? File an issue on GitHub and we'll add it ASAP!

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.