Skip to main content

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


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)

Uploaded Source

Built Distribution

phylopandas-0.1-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 2 Python 3

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