Make sequence logos using Felsenstain's phylogenetically independent contrast metod to take evolution into account
Project description
Phylogenetically Independent Contrasts Logo
Description
PhyInC Logo (pronounced Fink Logo) for short is a tool to take .fa and .tree files to create a phylogenetically conditioned sequence logo, using Felsensteins Phylogenetic Independent Contrast.
Install from PyPI.org
pip3 install phyinc
It is always a good idea to use virtual environments, see below.
Install from a downloaded GitHub repository
For dependencies, start a virtual env as good practice:
> python3 -m venv .
> source venv/bin/activate
> pip3 install biopython weblogo matplotlib numpy
If you are on mac
> brew install ghostscript
To install the current package:
> pip3 install .
Examples
Run this command:
> phyinc ./examples/synthetic_data/ex1_t1.tree ./examples/synthetic_data/ex1.fa
This should create a PDF named "ex1.fa_seqlogo.pdf" in the examples folder.
Files Inside
README.md
src/
|-- phyinc/
|-- config.py
|-- phyinc.py /
|-- io.py
|-- version.py
examples/
|-- ex1_t1.tree
|-- ex1.fa
config.py is a configuration file used to save the confirguration from phyinc
ex1_t1.tree is a .tree file provided as an example
ex1.fa is a .fa file provided as an example
phyinc.py is the program
Regular_logo.pdf is the output if you run the program on the example files provided
With_PIC_logo.png is the output if you run the program on the example files provided
License
GPLv3
Authors
- Haolin Guo wrote the basic code as part of his BSc project.
- Kyle Tenn helped make the code into a Python/PyPI package.
- Lars Arvestad oversaw and helped with creating the final Python/PyPI package.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phyinc-1.0.tar.gz.
File metadata
- Download URL: phyinc-1.0.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfa4851058850b47423ffcd12def22c3b1d3c6e4742e13caaca1dd3453d70937
|
|
| MD5 |
82ed019e02ccddce9efb68d92adc0748
|
|
| BLAKE2b-256 |
87fa21be31cbc0e60106bc6add4f4f4352432785d35af849ab274ef8b49cdcd6
|
File details
Details for the file phyinc-1.0-py3-none-any.whl.
File metadata
- Download URL: phyinc-1.0-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ed4b683a885aa12482a4286cba9fea90f144cba870975d81fdd4495491957aa
|
|
| MD5 |
7d41a38875b582c35f1a51ef35e9d2b2
|
|
| BLAKE2b-256 |
3741949233513dff891987448d74da4982a558938d4049467b0c9fa2604aaa00
|