Deep Codon Mutation Analyser (DCMA)
DCMA analyses each column of codons within .fasta files, from a target file, generating a report with all possible mutations listed.
Installation
pip install dcma
Examples
Usage
Command Line
usage: run-dcma [-h] [--reportName REPORTNAME] [--reportPath REPORTPATH]
[--searchKP SEARCHKP] [--debug]
TARGET REPORTTYPE
Analyse mutation on all nucleotide 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 dcma.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 dcma 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 | |
|---|---|---|---|
| dcma-0.1.2.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dcma-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.3 kB
Release files / dcma-0.1.2.tar.gz
| Download URL | dcma-0.1.2.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80da780cfd3f0f2193ba3038454c22ac239c5f5b83c1df4b49dc690d8f074fde
|
|
BLAKE2b-256 checksum How to use checksums |
b3d8e6f0b7f3015cc069bcfaa16ef5fa80c146f720fc98e28c268aa05aeb3ec9
|
| 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 / dcma-0.1.2-py3-none-any.whl
| Download URL | dcma-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e1e9232e147f569af8acad97baf8d308498cbe4585beac44d2eb1f4a02d3375
|
|
BLAKE2b-256 checksum How to use checksums |
198ff85da93e26752399b9c75f9475d67968bdf8530b96e98e1b10a682b4e13e
|
| 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
|