Skip to main content

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
The current version is 1.2.3

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.3

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

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

apclusterv-1.2.3.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

apclusterv-1.2.3-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

Details for the file apclusterv-1.2.3.tar.gz.

File metadata

  • Download URL: apclusterv-1.2.3.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for apclusterv-1.2.3.tar.gz
Algorithm Hash digest
SHA256 63e58a9449f802479c8ef46bcda0d00352b50d36983a63f7bb3e417a60f4a793
MD5 733c90a061e09054cef1f1a90cf9906e
BLAKE2b-256 c88a45955b19aba47e97c0a4d9f9a8af7d26356427a47b96e9faa9448d2c743f

See more details on using hashes here.

File details

Details for the file apclusterv-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: apclusterv-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 37.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for apclusterv-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db7eb8e123c60084d6fc8bce9c071f7a589075c7b767c45d92875019bc25242b
MD5 b1757859049ca480588b5303bc0b01bd
BLAKE2b-256 199bc37fbc5ff5784c89fa4571977290756e968cadca5f7e7715d601413544d7

See more details on using hashes here.

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