Skip to main content

PVGA is a powerful virus-focused assembler that does both assembly and polishing.

Project description

PVGA

GitHub License Version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvga-0.0.1.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvga-0.0.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file pvga-0.0.1.tar.gz.

File metadata

  • Download URL: pvga-0.0.1.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for pvga-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c87afe5094cceba33b110556d54af1416929c301bf4418690538e12c04b5d560
MD5 1b67608fbbad0bc0a66be55a2dc9ef3b
BLAKE2b-256 830e0803388916851f8c92761068a447b68d9b30488996254f31fb50d6d4d967

See more details on using hashes here.

File details

Details for the file pvga-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pvga-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for pvga-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 928016e61dd85c60f2e8d5fae007a60374d923df93813bb9d0525914b5481d27
MD5 cd8622bfc03dd8399011beb863b0013a
BLAKE2b-256 6433c7a7180deed259570c971326c5502b69c7e82854906127919bf19ae7ad91

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page