Compare epitope homology
Project description
[![Build Status](https://travis-ci.org/hammerlab/topeology.svg?branch=master)](https://travis-ci.org/hammerlab/topeology) [![Coverage Status](https://coveralls.io/repos/hammerlab/topeology/badge.svg?branch=master&service=github)](https://coveralls.io/github/hammerlab/topeology?branch=master)
# Topeology
Topeology compares neoepitope sequences with epitopes from [IEDB](http://www.iedb.org/).
## Example
From the command line:
```sh
topeology --input epitopes.csv --epitope-lengths 8 9 10 11 > scores.csv
```
In Python:
```python
from topeology import compare
output_dataframe = compare('epitopes.csv')
```
Input looks like:
| sample | epitope
| ------ | -------
| 001 | AAALPGKCGV
Output looks like:
| sample | epitope | iedb_epitope | score
| ------ | ------- | ------------ | -----
| 001 | AAALPGKCGV | EFKEFAAGRR | 2.38
## Installation
You can install topeology using [pip]:
```sh
pip install topeology
```
Currently, topeology use [seq-align] to quickly compare sequences, wrapped in a C extension. It will be
installed if [seq-align] is installed; otherwise, topeology reverts to using another scorer.
To install topeology with this extension:
- Follow [seq-align]'s installation instructions, and then set `SEQ_ALIGN_PATH` to the installation
directory.
- Install topeology via [pip]. If topeology is already installed, run `pip install topeology --upgrade --no-deps --force-reinstall`.
## Methodology
Topeology uses Smith-Waterman alignment to align each neoepitope with each IEDB epitope of the
same length, and returns the resultant epitope-epitope scores. Only position 3 to the penultimate
amino acid are considered.
This software uses the following libraries for Smith-Waterman alignment:
- [seq-align]
- [Complete-Striped-Smith-Waterman-Library](https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library)
[seq-align]: https://github.com/noporpoise/seq-align
[pip]: https://pip.pypa.io/en/latest/quickstart.html
# Topeology
Topeology compares neoepitope sequences with epitopes from [IEDB](http://www.iedb.org/).
## Example
From the command line:
```sh
topeology --input epitopes.csv --epitope-lengths 8 9 10 11 > scores.csv
```
In Python:
```python
from topeology import compare
output_dataframe = compare('epitopes.csv')
```
Input looks like:
| sample | epitope
| ------ | -------
| 001 | AAALPGKCGV
Output looks like:
| sample | epitope | iedb_epitope | score
| ------ | ------- | ------------ | -----
| 001 | AAALPGKCGV | EFKEFAAGRR | 2.38
## Installation
You can install topeology using [pip]:
```sh
pip install topeology
```
Currently, topeology use [seq-align] to quickly compare sequences, wrapped in a C extension. It will be
installed if [seq-align] is installed; otherwise, topeology reverts to using another scorer.
To install topeology with this extension:
- Follow [seq-align]'s installation instructions, and then set `SEQ_ALIGN_PATH` to the installation
directory.
- Install topeology via [pip]. If topeology is already installed, run `pip install topeology --upgrade --no-deps --force-reinstall`.
## Methodology
Topeology uses Smith-Waterman alignment to align each neoepitope with each IEDB epitope of the
same length, and returns the resultant epitope-epitope scores. Only position 3 to the penultimate
amino acid are considered.
This software uses the following libraries for Smith-Waterman alignment:
- [seq-align]
- [Complete-Striped-Smith-Waterman-Library](https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library)
[seq-align]: https://github.com/noporpoise/seq-align
[pip]: https://pip.pypa.io/en/latest/quickstart.html
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
topeology-0.0.2.tar.gz
(9.2 kB
view details)
File details
Details for the file topeology-0.0.2.tar.gz
.
File metadata
- Download URL: topeology-0.0.2.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e88be6d776a40233a260890a7908d3a29ddfa87c05e87595fdb246d8b5baf7e |
|
MD5 | eb0a317dcdc882e718481a00b1ac6d8f |
|
BLAKE2b-256 | af51dada33edb3e300f866182e38c6bafefb3314e4834ff64a03d50c0b6585ba |