Skip to main content

Simple Genome Tree (SGTree)

v0.1 05/19/2019

Simple Genome Tree (SGTree) is a computational pipeline for fast and easy construction of phylogenetic trees from a set of user provided genomes and a set of phylogenetic markers, in a taxonomic framework of de-replicated reference genomes. SGTree identifies conserved phylogenetic marker proteins and evaluates additional copies of markers derived from either duplications, horizontal gene transfer or contamination, to build a phylogenetic tree based on the concatenated alignment of selected marker proteins.

Setup

Activate conda environment and run sgtree

  1. First clone the git repository. (cHdNmkqqNNrQNa9Kvux6)

  2. Make sure you have anaconda installed, you can install it here. https://www.anaconda.com/distribution/#download-section

  3. Depending on your OS, choose the osxenv.txt for mac or the ubuntu-env.txt file for Ubuntu or linux.

  4. Next run (where spec-file.txt is either ubuntu_env or osxenv):

	conda create --name sgtree_env --file spec-file.txt
	source activate sgtree_env (or conda activate depending on your version)

Run SGTree

  1. Run sgtree with the provided set of query genomes and models for testing, user can control the number of CPUs used by the computer, the minimum percentage of models with hits for a genome to be considered as part of the dataset as well as a directory with reference genomes. Genomes from the query genomes directory and the reference genomes directory will be colored red and grey respectively.
	# test example
	python3 sgtree.py testgenomes/Chloroflexi hmms/UNI56 --num_cpus 8
	# general example
	python3 sgtree.py <genomes directory> <models directory> --num_cpus <integer> --percent_models 
	<integer> --ref <reference genomes directory>
For running sgtree_final.py, please make a ref_concat folder wherever you want to store reference db runs. 
	python3 sgtree_final.py testgenomes/Chloroflexi hmms/UNI56 
	sgtree/references_concat --num_cpus 10 --save_dir sgtree/test --ref sgtree/testgenomes/chlorref
	python3 sgtree_final.py <genomes directory> <models directory> <references directory>--num_cpus <integer> --percent_models 
	<integer> --ref <reference genomes directory>

## Important note
1. Genomes must have the header format as follows: 

``` bash
	>IMG2684622718|2685462912
	MLCAFAEEEAKIAETVGKVATELKVKKLLSDFATKEGEEHISTYNKIAMTAKAEGYADIEAMLCAFAEEEAKLQKL

where the first field before the pipe contains the genome identifier which matches the filename base, and the second field a unique protein identifier.

Release files for sgtree 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sgtree 0.0.10
File Size Uploaded
sgtree-0.0.10.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sgtree 0.0.10
File Interpreter ABI Platform
sgtree-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / sgtree-0.0.10.tar.gz

Download URL sgtree-0.0.10.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f12a8d8e27c7ebfb7e65239b329ff43ac1c2ec977ca06234e7f42dc368ec7288
BLAKE2b-256 checksum
How to use checksums
3240fd5d1a03cf319171236b66f5aee054c6b55fb7df0abfba1c43489ec7f40d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / sgtree-0.0.10-py3-none-any.whl

Download URL sgtree-0.0.10-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cef291c18d7db3321dd2114ce45ecbec81ed00df43671ce6c9703dc4e0afe56c
BLAKE2b-256 checksum
How to use checksums
24694e424c7ac88333b04a0c4826bc539203ae3e2356463c5d3db744e6c27b15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page