Giter VIP home page Giter VIP logo

metagenomics-tutorials's Introduction

Additional scripts for tutorials from tylerbarnum.com

Currently only one tutorial. Grad school is a lot of work!

UBA Genomes

Supplemental scripts for a tutorial on using HMMs to search a large dataset, the 8000-geome Uncultivated Bacteria and Archaea (UBA) dataset from Parks et. al 2017. The repo includes the script uba-hmmer-pipeline.sh, which can perform the entire pipeline. Please consult the tutorial for more information.

Tutorial: https://tylerbarnum.com/2018/06/22/searching-uncultivated-bacteria-and-archaea-uba-genomes-for-important-genes/

Downloading the UBA genomes:

# Download the "readme" file, which describes available files for download 
wget https://data.ace.uq.edu.au/public/misc_downloads/uba_genomes/readme . 

# Download annotations for all UBA bacterial genomes (archaeal genomes are a separate file)
# Size: 54 Gb, Runtime: ~90 minutes
wget https://data.ace.uq.edu.au/public/misc_downloads/uba_genomes/uba_bac_prokka.tar.gz . 

# Unpack the tarball
# Size: 207 Gb, Runtime: ~90 minutes
tar -xzvf uba_bac_prokka.tar.gz

# Optional: remove unpacked tarball to save space
# rm uba_bac_prokka.tar.gz

# Before rename: 
# Single proteome: UBA999.faa
# >BNPHCMLN_00001 hypothetical protein

# Concatenate renamed proteins into one file
# Size: 6.3 Gb, Runtime: ~5-10 minutes
for GENOME in `ls bacteria/`; 
do sed "s|.*_|>${GENOME}_|" bacteria/${GENOME}/${GENOME}.faa | cat >> uba-bac-proteins.faa; 
done

# After rename:
# All proteomes: uba-bac-proteins.faa
# >UBA999_00001 hypothetical protein

# Optional: remove all other files to save space.
# WARNING: Only do this if you're CERTAIN you do not need the files
# rm -r bacteria/

Citation:

Parks DH, Rinke C, Chuvochina M, Chaumeil P-A, Woodcroft BJ, Evans PN, et al. (2017). Recovery of nearly 8,000 metagenome-assembled genomes substantially expands the tree of life. Nat Microbiol 2: 1533โ€“1542.

metagenomics-tutorials's People

Contributors

tylerbarnum avatar

Stargazers

Guillaume Gaullier avatar Andre Lucena avatar Mladen Rasic avatar Matt McGuffie avatar Roey Angel avatar shaaran Lakshminarayanan avatar Jaivarsan avatar  avatar

Watchers

James Cloos avatar Roey Angel avatar

metagenomics-tutorials's Issues

Defining tresholds

Hello Tyler,

Thank you for this post on the blog, really useful!

I have some questions regarding the election of Evalue threshold for finding the protein.
How do you establish it?
It is always a manual curation based on your knowledge of the protein?
Do you know of any to delineate the threshold cut based on two sets of proteins? The query and an outgroup of closely related proteins without the same function.

Is there any literature that you would recommend regarding the generation of HMM for metagenome annotation?

I tried to write down the post but it didn't worked...

Thank you :)

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.