Deep Protein Polarity Analyser (DPPA)
DPPA analyses each column of amino acids within .fasta files, from a target file, generating a report with all possible polarities listed.
Installation
pip install dppa
Examples
Usage
Command Line
usage: run-dppa [-h] [--reportName REPORTNAME] [--reportPath REPORTPATH]
[--searchKP SEARCHKP] [--debug]
TARGET REPORTTYPE
Analyse polarity on all protein alignment .fasta files from a target.
positional arguments:
TARGET Target .fasta file to be analysed.
REPORTTYPE Output report file type.
optional arguments:
-h, --help show this help message and exit
--reportName REPORTNAME
Output report custom file name.
--reportPath REPORTPATH
Output report custom file path.
--searchKP SEARCHKP Custom keyphrase to detect searchable sequences.
--debug Turn debug messages on.
Python
import dppa.core as solver
target_path = 'example.fasta'
report_name = 'myrep'
report_type = 'all' # 'xls', 'csv' or 'all'
report_path = 'results-folder' # optional
solver.set_debug_mode(True) # optional
# results[0] -> polarity results dataframe
# results[1] -> alerts dataframe
results = solver.run(target_path)
# option 1: export to the current folder
solver.export(results, report_type, report_name)
# option 2: export to custom folder
solver.export(results, report_type, report_name, report_path)
Metadata
Release files for dppa 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dppa-0.1.2.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dppa-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / dppa-0.1.2.tar.gz
| Download URL | dppa-0.1.2.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67c522c1d000711fc9d7272f774a0e025b193d40ccd1e0eaa34c5a57faa80190
|
|
BLAKE2b-256 checksum How to use checksums |
284b3226c91391d391ff70d07ca258c1acbd1d127e6e22c60c1a2b133ae232dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Release files / dppa-0.1.2-py3-none-any.whl
| Download URL | dppa-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b4f486963f56353db4a1d97f0ec64edf33b8d684e87d022616f5dbb3d1997e2
|
|
BLAKE2b-256 checksum How to use checksums |
f2f75ea74ab16662678f4058b4a92fa812d7b90c97218ff178b392b9f3062de6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|