Git Product home page Git Product logo

metagenomics_mpa3's Introduction

Shotgun Metagenomics Workflow

Test data

The test data used for this workflow was provided by the authors of 'Developing standards for the microbiome field' (publication available here) The data from the study (NCBI Bioproject ID PRJNA622674) can be accessed here

Steps to run the pipeline

  1. Clone the github repo at and navigate to the directory

git clone https://github.com/MGordon09/metagenomics_mpa3.git \ cd metagenomics_mpa3

  1. Create a conda enviroment to perform the analysis by running the following (NB environment must be named metaphlan3)

conda env create --name metaphlan3 --file=environment_test.yml

  1. For linux users, edit the bowtie2 installation section of prepare_metaphlandb.sh script in the prepare_metaphlan() process (section commented in code). Linux users will also need to modify run_metaphlan3.sh script in the run_metaphlan() process (also highlighted in code) (Other bowtie2 releases available here

  2. Run the prepare_metaphlandb.sh script. This will take some time to run as it downloads and constructs the metaphlan reference database.

./prepare_metaphlandb.sh

  1. Change the $READS and $LINKPATH_DB file paths in the run_metagenomics.sh script. The $READS path should point to the folder containing your reads. The $LINKPATH_DB will point to the folder storing the metaphlan reference database (given as output by prepare_metaphlandb.sh) READS=/FULL/PATH/TO/data/ LINKPATH_DB=/FULL/PATH/TO/reference

  2. Finally, run the run_metagenomics.sh script. (Dont forget to prepare_metaphlandb.sh if running on linux! ) ./run_metagenomics.sh

metagenomics_mpa3's People

Contributors

mgordon09 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.