Pandas for phylogenetics
Project description
# PhyloPandas: Pandas for phylogenetics
PhyloPandas brings the Pandas `DataFrame` to phylogenetics.
It provides `read_` methods from a large list of sequence formats and
a subclass of Panda's `DataFrame` for easy manipulation of phylogenetic data.
Boom! Phylogenetics for humans.
How does it work? There is no reinventing the wheel here. PhyloPandas simply provides a
bridge between BioPython (great for parsing/writing sequence data) and Pandas
(great for human-accessible data storage).
# Basic Usage
Read from any format:
```python
import phylopandas as phypd
df = phypd.read_fasta('sequences.fasta')
df = phypd.read_phylip('sequences.phy')
```
Convert formats:
```python
df = phypd.read_fasta('sequences.fasta')
df.to_phylip('sequences.phy')
```
# Install
Install from source:
```
git clone https://github.com/Zsailer/phylopandas
cd phylopandas
pip install -e .
```
# Dependencies
* BioPython
* Pandas
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phylopandas-0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for phylopandas-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988ca7c912140aa876a94e3e645ccc2926565b2444d924251ee9c0da616ead5f |
|
MD5 | 5523e0906f9ac38db5a40dd8c3ad1c2a |
|
BLAKE2b-256 | ba47f00086c24529875c4b7fa555afcc04d27be3b9335d0ab4d41d986a972df2 |