PVGA is a powerful virus-focused assembler that does both assembly and polishing.
Project description
PVGA
Overview
PVGA is a powerful virus-focused assembler that does both assembly and polishing. For virus genomes, small changes will lead to significant differences in terms of viral function and pathogenicity. Thus, for virus-focused assemblers, high-accuracy results are crucial. Our approach heavily depends on the input reads as evidence to produce the reported genome. It first adopts a reference genome to start with. We then align all the reads against the reference genome to get an alignment graph. After that, we use a dynamic programming algorithm to compute a path with the maximum weight of edges supported by reads. Most importantly, the obtained path is used as the new reference genome and the process is repeated until no further improvement is possible.
Installation
To install and use PVGA, please follow these steps:
sudo apt install blasr
conda create -n pvga python=3.10
conda activate pvga
git clone https://github.com/SoSongzhi/PVGA.git
cd PVGA
pip install -r requirements.txt
Usage
To display the help message and see the available command-line options for the pvga.py script, run the following command in your terminal:
python pvga.py -h
To perform assembly using the pvga.py script, use the following command structure:
python pvga.py -r [reads location] -b [backbone locatino] -n [ITERATION NUM] -od [output dir]
Arguments
-
-r [reads location],--reads [reads location]:
Path to the input reads file or directory containing the sequencing reads (e.g., FASTQ or FASTA files). -
-b [backbone location],--backbone [backbone location]:
Path to the backbone sequence file (e.g., a reference genome or plasmid in FASTA format). -
-n [ITERATION NUM],--iterations [ITERATION NUM]:
Number of iterations to run the assembly process. This controls the depth or refinement of the assembly. -
-od [output dir],--output_dir [output dir]:
Path to the directory where the output files (e.g., assembled sequences, logs, and reports) will be saved.
Example Command
python pvga.py -r hiv_30x_4k_id90_98_2.5.fastq -b HXB2.fa -n 10 -od test_pvga
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Contact
For questions or support, please contact [songzhics@gmail.com] or open an issue on GitHub.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pvga-0.0.2.tar.gz.
File metadata
- Download URL: pvga-0.0.2.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88a1f3bedf9b3be31be62892d5b7cf2e48a1428b3049e5634b208295fc2bd58b
|
|
| MD5 |
20f8ba03c72cf5bfc4aec348466ca2fd
|
|
| BLAKE2b-256 |
e8dcfcd03f8e77b99d18c4c02979836650176f01021d3f7ab03e943ea5f47ee4
|
File details
Details for the file pvga-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pvga-0.0.2-py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9eff3978926ced8ba82b3d0170b8662c03445c1990158835d16bc2b12d8e5d2
|
|
| MD5 |
87de70ad1ba724b25908e547759c2fc1
|
|
| BLAKE2b-256 |
ad2fe4f05cd63fa70e956976edcd0002d9ad58e61682a3d06a4fdb78851bb3cd
|