No project description provided
Project description
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
Dependencies:
python>=3.7
pandas
numpy
networkx >= 2.8.4
scipy >=1.8.1
scikit-learn >= 1.1.2
MCL
diamond >= 0.9.34
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
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)
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
Built Distribution
File details
Details for the file apclusterv-1.0.1.tar.gz
.
File metadata
- Download URL: apclusterv-1.0.1.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e906e0ece757549612dee431d14f07ed560cb6ee303993568e2fe461b00f18c |
|
MD5 | c7ff6e2049cfd7da701dcef8e1dbc0b5 |
|
BLAKE2b-256 | e40d2a1b7806c8e12c64547e3a68836ec30b480c74a41ac9e00335f6a2869dab |
File details
Details for the file apclusterv-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: apclusterv-1.0.1-py3-none-any.whl
- Upload date:
- Size: 37.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ada2a8fa0a0f9b195d04169d17fb476116c5f537595761f47e1471870c2571f |
|
MD5 | f153f5a15a5ab2d8af92ea70851bfaa5 |
|
BLAKE2b-256 | 2a2f60be5cf17806accc67ea8b0fbe6d02e594c01a00de4a810f1c4fa9de74a1 |