Awesome
A library for working with phylogenetic and population genetic data.
<!-- [![Build Status](https://travis-ci.org/lczech/genesis.svg?branch=master)](https://travis-ci.org/lczech/genesis) --> <!--![Language](https://img.shields.io/badge/language-python-lightgrey.svg)-->Features
Genesis is a C++ library for working with phylogenetic and population genetic data:
<!-- Some of the features of genesis: -->- Trees
- Read, annotate and write trees in various formats.
- Versatile tree data structure that can store any data on the edges and nodes.
- Easily iterate trees with different policies (e.g., postorder, preorder).
- Directly draw trees with colored branches to SVG files.
- Placements
- Read, manipulate and write
jplace
files from phylogenetic placement analyses. - Manipulate placement data: extract, filter, merge, and much more.
- Calculate distance measures (e.g., KR distance, EDPL).
- Run analyses like k-means Clustering, Squash Clustering, Edge PCA.
- Visualize aspects like read abundances or correlation with meta-data on the branches of the tree.
- Read, manipulate and write
- Populations
- Read and work with genome mapping and variant formats such as
sam
/bam
/cram
,pileup
,sync
, andvcf
, as well as auxiliary formats such asgff
/gtf
,bim
/map
, andbed
. - Iterate positions in a genome, individually or in different types of windows.
- Compute statistics such as Tajima's D and F_ST for pool sequencing data.
- Read and work with genome mapping and variant formats such as
- Sequences and Taxonomies
- Read, filter, manipulate and write sequences in
fasta
,fastq
, andphylip
format. - Calculate consensus sequences with different methods.
- Work with taxonomic paths and build a taxonomic hierarchy.
- Read, filter, manipulate and write sequences in
- Utilities
- Math tools (matrices, histograms, statistics functions etc)
- Color support (color lists, gradients etc, for making colored trees)
- Various supportive file formats (bmp, csv, json, xml and more)
This is just an overview of the more prominent features. See the API reference for more.
Genesis is a library that is intended for researchers and developers who want to build their own tools and methods, or run their own custom analyses. If you are simply interested in analyzing your data with our methods, have a look at our command line tool Gappa for many common phylogenetic placement analyses.
<!-- A main focus are evolutionary placements of short environmental sequences on a reference phylogenetic tree. Such data is typically produced by tools like [EPA-ng](https://github.com/Pbdas/epa-ng), [RAxML-EPA](http://sco.h-its.org/exelixis/web/software/epa/index.html) or [pplacer](http://matsen.fhcrc.org/pplacer/) and usually stored in `jplace` files. -->Setup and Getting Started
<!-- The functionality of genesis can be used in two ways: * As a C++ library. * As a Python module. -->For download and build instructions, see Setup.
You furthermore find all the information for getting started with genesis in the documentation. It contains a user manual with setup instructions and tutorials, as well as the full API reference.
For bug reports and feature requests of genesis, please open an issue on our GitHub page.
For user support of the phylogenetic placement parts of the library, please see our Phylogenetic Placement Google Group. It is intended for discussions about phylogenetic placement, and for user support for our software tools, such as EPA-ng and Gappa.
Showcases
A focus point of the library is to work with phylogenetic placements. The following figure summarized the placement position of 7.5 mio short reads on a reference tree with 190 taxa. The color code indicates the number of reads placed on each branch.
This and other methods are presented in our manuscripts
Methods for Inference of Automatic Reference Phylogenies and Multilevel Phylogenetic Placement.<br /> Lucas Czech, Pierre Barbera, and Alexandros Stamatakis.<br /> Bioinformatics, 2018. https://doi.org/10.1093/bioinformatics/bty767<br />
<!-- bioRxiv, 2018. https://doi.org/10.1101/299792 -->
and
Scalable Methods for Analyzing and Visualizing Phylogenetic Placement of Metagenomic Samples.<br /> Lucas Czech and Alexandros Stamatakis.<br /> PLOS One, 2019. https://doi.org/10.1371/journal.pone.0217050<br />
<!-- bioRxiv, 2019. https://doi.org/10.1101/346353 -->
See there for more on what Genesis can do.
Citation
When using Genesis, please cite
Genesis and Gappa: processing, analyzing and visualizing phylogenetic (placement) data.<br /> Lucas Czech, Pierre Barbera, and Alexandros Stamatakis.<br /> Bioinformatics, 2020. https://doi.org/10.1093/bioinformatics/btaa070<br />
Also, see Gappa for our command line tool to run your own analyses.