dcma-0.1.2
توضیحات
Deep Codon Mutation Analyser
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dcma-0.1.2 |
| نام | dcma |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jan Justi |
| ایمیل نویسنده | jan.ma.justi@gmail.com |
| آدرس صفحه اصلی | https://github.com/janjusti/dcma |
| آدرس اینترنتی | https://pypi.org/project/dcma/ |
| مجوز | MIT |
# 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
```bash
pip install dcma
```
## Examples
- [Simple Execution](examples/example1-simple.md)
- [Group Execution](examples/example2-group.md)
## Usage
### Command Line
```bash
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
```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)
```
نیازمندی
| مقدار | نام |
|---|---|
| >=4.31.1 | tqdm |
| >=2.6.0 | anytree |
| >=0.24.2 | pandas |
| >=1.73 | biopython |
| >=2.6.2 | openpyxl |
| >=2.0.3 | styleframe |
نحوه نصب
نصب پکیج whl dcma-0.1.2:
pip install dcma-0.1.2.whl
نصب پکیج tar.gz dcma-0.1.2:
pip install dcma-0.1.2.tar.gz