Giter Club home page Giter Club logo

qiime-2-plots's Introduction

QIIME-2-plots

A collection of R scripts to handle pre-processed metabarcoding data and produce meaningful visualizations.

Scope

The goal of this repository is to publish snippets of open source code that I regularly use for downstream processing of amplicon sequencing data. This type of data is often generated for microbiome and environmental DNA analysis. The typical bioinformatics pipelines that process raw sequencing data provide some integrated tools for vizualisation and inference, but those are often not flexible enough to accommodate diverse research needs. It's why many packages and libraries have been developped and published in higher-level programming languages to handle such tasks.

My goal here is to bridge the gap between one bioinformatics pipeline (QIIME2) and a handful of R packages to generate informative and flexible data visualizations.

Data

The data used to create these scripts and vizualisations have been removed from the repo for confidentiality. When inputing your data, you will need to adapt these scripts to your character patterns and purposes.

* Regularly vizualising your data with the R console as you run lines of code will help you diagnose issues and save headaches. *

Amplicon Sequencing and pre-processing

This repository assumes as inputs amplicon sequencing data generated by an Illumina MiSeq platform and pre-processed within the QIIME2 environment, as outlined in https://github.com/LangilleLab/microbiome_helper. Amplicon sources, processing tools employed within QIIME2, and parameter settings along the pipeline will have an impact on results and can vary.

Input data for QIIME-2-plots

Data sources (not all necessary to each script and additional inputs can be integrated):

Metadata.tsv

  • File imported into QIIME2 and used during pre-processing.
  • First column is 'sampleid' (or a similar title accepted by the QIIME2 format) and must identically match columns of the feature (ASV) table.

ASV_table.qza

  • 1st column 'Feature-ID' are the ASV IDs and must match ASV IDs of classification.qza.
  • Next columns are samples with read counts for each ASV detected.
  • Samples whose string must match strings of column 'sampleid' in Metadata.tsv.

Classification.qza

  • 1st column 'Feature-ID' are the ASV IDs and must match ASV IDs of ASV_table.qza.
  • 2nd column will be the taxonomic assignement which will vary depending on the classifier used within the QIIME2 environment.

Tools

The script 'downloading_libraries.R' located on the main directory shows the code necessary to install all required libraries for QIIME-2-plots scripts. Run lines as needed. Secondary options will be commented.

qiime-2-plots's People

Contributors

s-myles 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.