Apclusterv: Clustering viral genomes with Affinity Propagation
Apclusterv is a novel clustering software for viral genomes. The input genomes can be either complete genomes or contigs from metagenomic assembly. The program is based on protein-protein alignment and written in python
The current stable version is 1.2.5
Dependencies:
python>=3.8
pandas
numpy
networkx >= 2.8.4
scipy >=1.8.1
scikit-learn >= 1.1.2
MCL
diamond >= 0.9.14
prodigal >= 2.6.3
R>=3.6.1
Installation:
Suppose you are in a conda environment, you need to install MCL, prodigal (for ORF prediction),diamond (for alignment) and R(if not already installed, we just need stats library in r-base)
conda install diamond -c bioconda
conda install mcl -c bioconda
conda install prodigal -c bioconda
conda install r-base
pip install apclusterv==1.2.5
Getting Started:
option 1. start with contigs
step1. preduct ORFs from the DNA file with the following command:
prepare contig_dna_fasta
(contig_dna_fasta is the path to the dna sequences for clustering)
step2. execute clustering with the following command:
apclusterv -contig contig_dna_fasta
option 2. if you already have protein sequences from the contigs, you can run apclusterv by the proteins and a protein-contig map file.
An example of protein file and mapfile are data/experiment1.faa and data/experiment1.csv
apclusterv -protein experiment1.faa -csv experiment1.csv
Help message and parameter setting
apclusterv -h
Results
The program will create tmp/ directory. The clustering result is tmp/cluster_result.i.r.csv (cluster_result.3.4.csv by default) Simulation profile used in the manuscript is in data/profile.csv RI and ARI for evalation script is data/eval.py
Metadata
Release files for apclusterv 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apclusterv-1.2.5.tar.gz | 31.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apclusterv-1.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.0 kB
Release files / apclusterv-1.2.5.tar.gz
| Download URL | apclusterv-1.2.5.tar.gz |
|---|---|
| Size | 31.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6db51cdba5f708fbd633c6cc9b9a061610846775cb022cf2d69fca8fe73c4bc2
|
|
BLAKE2b-256 checksum How to use checksums |
6f8c9a9efd24b3c92e2502b1437c9546bb96366e03dd736d860a06a07d5dbe2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.16
|
Release files / apclusterv-1.2.5-py3-none-any.whl
| Download URL | apclusterv-1.2.5-py3-none-any.whl |
|---|---|
| Size | 37.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e101637d41fda0a1687971d44f5e320520dd3a1175d1455348431715fc211ef
|
|
BLAKE2b-256 checksum How to use checksums |
265733c398b6a5a5a22e11da932193ec4a202d33cb1f600c8397a4b107166c39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.16
|