Skip to content

JoshuaIszatt/phunky

Repository files navigation

Phunky

Long read assembly for phages: Phage pipeline Figure 1: Rough phage assembly pipeline, dotted line indicates where processing begins.

Python

Install dependencies

  1. Download the yml environment file:
wget https://anaconda.org/JoshIszatt/phunky/2024.05.24.145220/download/phunky.yml
  1. Create the environment
conda env create --file phunky.yml
  1. Activate the environment:
conda activate phunky
  1. Install phunky pipeline:
pip install phunky
  1. Optional: Setup the checkv database
checkv download_database /path/to/checkv-db
export CHECKVDB=/path/to/checkv-db

Usage

Open a python terminal and enter:

import phunky
dir(phunky)

Quick phage assembly:

import phunky

phunky.assembly_pipeline('example_reads.bam', 'output_directory/')

Batch phage assembly:

import phunky
phunky.batch_assembly_pipeline('reads_directory/', 'output_directory/')

Citation:

There is a CITATION file in this repository (.CFF), however Phanta may also be cited like so:

Iszatt JJ. PHUNKY long read assembly pipeline. Published online June 2024. Version <VERSION>. Accessed <ACCESS DATE>. https://github.com/JoshuaIszatt/phunky

Dependencies:

  • python>=3
  • checkv==1.0.3
  • biopython==1.83
  • bbmap==39.06
  • pandas==2.2.1
  • matplotlib==3.8.4
  • flye==2.9.3
  • porechop_abi==0.5.0
  • nanoplot==1.42.0
  • filtlong==0.2.1

General todo

  • Create conda distribution
  • Add hash key function