GithubHelp home page GithubHelp logo

hpviewer's Introduction

HPViewer: sensitive and specific genotyping of human papillomavirus in metagenomic DNA

Description

HPViewer is a tool for genotyping and quantification of HPV from metagenomic or human genomic shotgun sequencing data. We designed it to improve performance by masking nonspecific sequences from reference genomes and directly identifying HPV short DNA reads. It contains two HPV databases with different masking strategies, repeat-mask and homology-mask and one homology distance matrix to choose between those two databases.

If you use the HPViewer software, please cite our manuscript:

Yuhan Hao, Liying Yang, Antonio Galvao Neto, Milan R Amin, Dervla Kelly, Stuart M Brown, Ryan C Branski, Zhiheng Pei; HPViewer: sensitive and specific genotyping of human papillomavirus in metagenomic DNA, Bioinformatics, bty037, https://doi.org/10.1093/bioinformatics/bty037

Installation

$ git clone https://github.com/yuhanH/HPViewer.git

Pre-requisites

Python (2.7+)

Python packages (sys, getopt, subprocess)

Bowtie2: http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml

SAMtools: http://www.htslib.org/

Bedtools: http://bedtools.readthedocs.io/en/latest/

Parameters

Required

a) input files (-U or -1 -2): fastq files (or fastq.gz), unpaired (-U unpaired.fastq) or R1,R2 paired (-1 R1.fastq -2 R2.fastq)

b) output file name (-o)

Optional

a) database mask type (-m): hybrid-mask(default), repeat-mask, homology-mask.

If you set -m, it should be in front of reads input (-m repeat-mask -1 R1.fastq -2 R2.fastq). Repeat-mask is a more sensitive mode; and homology-mask is suggested when some types of HPV are present in large abundance which may lead to false positive of other types of HPV.

b) number of threaded used in bowtie2 alignment (-p)

c) minimal coverage threshold to determine HPV present (-c), default is 150 bp (1.5 x average length of your reads).

Results

a) output_HPV_summary.txt has three coloumns with types of HPV present, number of reads per kilobase (RPK) for the matching HPV, and number of reads of the matching HPV.

b) alignment results after bowtie2: output.sam, output.bam

Basic Usage (demo)

python HPViewer.py -U test_unpaired.fastq -o TEST
more TEST/TEST_HPV_profile.txt

Work Flow

hpviewer's People

Contributors

yuhanh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.