Giter Club home page Giter Club logo

panmags's Introduction

PanMAGs

This repository provides codes and files to reproduce data and figures from the manuscript "Critical assessment of pan-genomics of metagenome-assembled genomes", by Tang Li and Yanbin Yin* (*corresponding author). Here, the Python and shell scripts cover downloading genome data, simulating metagenome-assembled genomes (MAGs) from complete genomes, analyzing pan-genome, performing Clusters of Orthologous Group (COG) functional annotations and comparing phylogenetic trees. The R codes cover reformatting data, generating plots and combining plots.

Requirements

  • FastANI: Calculate Average Nucleotide Identity (ANI).
  • Prokka: Prokaryotic genome annotation.
  • Blast+: Compare sequences to database.
  • Roary: Pan-genome analysis.
  • Anvi'o: Pan-genome analysis.
  • BPGA: Pan-genome analysis.
  • Fasttree: Phylogenetic tree construction.

Data

  • The entire data generated in this study is too large to store on Github, some example data for Escherichia coli are available online for testing MAG simulation, generating mixed MAG datasets, extracting and comparing core genes, and evaluating downstream analysis.
  • Anaconda is used to create conda environment to run Python scripts, the required package conda_list can be downloaded using conda create --name <env> --file conda_list.
  • Information about R packages needed to run R codes can be found in R_packages.
  • The four supplementary tables for this manuscript can be found the folder supplementary tables.

Scripts

Python_Shell_scripts

R_code

  • These R codes were used to generate figures and supplementary figures in the manuscript. For example, the "Fig2.AB.frag_data.R" was used to generate Figure 2.A and Figure 2.B in the manuscript. The input files for generating Figure 2 can be found in "Fig2.frag_incomp".

panmags's People

Contributors

tli14 avatar

Stargazers

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