Skip to main content

Deep Protein Polarity Analyser

Project description

DPPA (Deep Protein Polarity Analyser)

Installation

pip install dppa --user

Usage

CLI:

usage: run-dppa [-h] [--reportName REPORTNAME] [--reportPath REPORTPATH]
                [--debug]
                TARGET REPORTTYPE

Analyse 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.
  --debug               Turn debug messages on.

Python:

import dppa.core as pol_solver

target_path = 'example.fasta'
report_name = 'myrep'
report_type = 'xls'
report_path = 'results-folder' # optional

pol_solver.set_debug_mode(True) # optional

# results[0] -> polarity results dataframe
# results[1] -> alerts dataframe
results = pol_solver.run(target_path)

# option 1: export to the current folder
pol_solver.export(results, report_type, report_name)
# option 2: export to custom folder
pol_solver.export(results, report_type, report_name, report_path)

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

dppa-0.1.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

dppa-0.1.1-py3-none-any.whl (9.5 kB view hashes)

Uploaded 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