Skip to main content

ProPhyle metagenomic classifier

Project description

https://travis-ci.org/karel-brinda/prophyle.svg?branch=master

Getting started

Prerequisities

  • GCC 4.8+

  • ZLib

  • Python 3 with ete3 library

  • SamTools

Custom taxonomic trees

Use [bin/build_taxonomic_tree.py](bin/build_taxonomic_tree.py) to build custom taxonomic trees starting from your database’s fasta indexes and taxonomy files ([library/Taxonomy](library/Taxonomy) for more information). Taxonomic identifiers are assigned to the sequences first, and then the tree is built using [ETE Toolkit](http://etetoolkit.org/) and saved as newick format 1. Necessary node attributes are:

  • name: unique node name (format n[0-9]*)

  • taxid: unique taxonomic identifier

  • seqname: names of the sequences sharing the same taxid, separated by @

  • fastapath: paths of the sequences’ fasta files, separated by @ (absolute or relative from the main directory of the repository)

  • infasta_offset: positions where each sequence starts inside the corresponding fasta files, separated by @

  • base_len: length of each sequence, separated by @

Other optional attributes are sci_name, named_lineage, lineage, rank (more info [here](http://etetoolkit.org/docs/latest/tutorial/tutorial_ncbitaxonomy.html#automatic-tree-annotation-using-ncbi-taxonomy)).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prophyle-0.1.0.10.tar.gz (190.7 kB view hashes)

Uploaded Source

Built Distribution

prophyle-0.1.0.10-cp35-cp35m-macosx_10_7_x86_64.whl (238.2 kB view hashes)

Uploaded CPython 3.5m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page