rsemeraro / PyPore

A python tool box for fast and accurate quality control, conversion and alignment of nanopore sequencing data
GNU General Public License v3.0
20 stars 5 forks source link

PyPore

Pypore is a python tool box for fast and accurate quality control, conversion and alignment of nanopore sequencing data, in their raw format (Fast5). We developed PyPore as a command-line tool composed by three modules (seqstats, fastqgen and alignment), each provided with a set of specific options. PyPore comes out with a nice interactive result representation function, based on the plotly library, in order to allow user to zoom and pan the result summary getting information related to a specific experimental point.

Requirements

For Unix/OS X users only

Windows distribution comes out with precompiled samtools and minimap2 versions

Installation

Dependencies

Before proceeding with PyPore installation, check for HDF5 dependencies.

  1. In order to check if HDF5 library is already present, type:
    h5cc -showconfig
  2. If you are on OS X system equipped with the HomeBrew package manager, check the available packges list by typing:

    brew list
    • If missing, install HDF5 through the HomeBrew Science "tap":

      brew tap homebrew/science
      brew install hdf5
  3. Alternatively, if you use a Python distribution, such as Anaconda or Miniconda, installation of HDF5 can be done (for all OS) on the command line via:
    conda install -c anaconda hdf5
  4. For Linux or other Unix distributions the HDF5 library can be found in libhdf5-dev package. Make sure that you have the development headers, as they are usually not installed by default.
  5. For Windows users the HDF5 library installer can be downloaded from here.

    PyPore

  6. Clone the PyPore repository:
    • PyPore
      git clone --single-branch -b master https://github.com/rsemeraro/PyPore
    • PyPore with test data (170Mb)
      
      git clone --single-branch -b Benchmark https://github.com/rsemeraro/PyPore.git
  7. Install as root:
    cd PyPore
    python setup.py install

Usage

PyPore consists of the following three modules:

This program has been developed by Roberto Semeraro, Department of Experimental and Clinical Medicine, University of Florence