Code Monkey home page Code Monkey logo

longread_plots's Introduction

longread_plots

A collection of plots for long read sequencing FastQ files from devices like Oxford Nanopore's MinION and PromethION.

Dependencies

pip install --user --upgrade pandas seaborn

Note that matplot lib >= 3.0.0 is needed and 3.6.1 has a breaking bug (3.6.2 on are fine). Python >= 3.5 is therfore recommended, otherwise plots might be corrupted.

Speed up with lrdf

The aggregation of the data in python is quite slow. Therefore I implemented it as a standalone rust implementation, which can be found here: https://github.com/ahcm/lrdf

Installation

From PyPi:

pip3 install --user lrplots

From the release tar.gz:

python3 setup.py install --user

Usage

With the pip3 installation it should be in your PATH and you should be able to just call:

lrplot example.fastq

If the command can't be found, pip3 installed it in a path that is not in your PATH variable. You can then find it with:

find ~ -name lrplot

or

find /usr/local -name lrplot

Then either add the containing directory to your PATH or just use the full path.

You can also call it like a script with python3 (or whatever your python3 is called):

python3 bin/lrplots example.fastq

Output

longread_plots's People

Contributors

ahcm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

longread_plots's Issues

No module named 'pyfastq_reader'

Getting the following error, when running lrplot

Traceback (most recent call last):
  File "/home/subudhak/miniconda3/envs/fmdv_assembly/bin/lrplot", line 19, in <module>
    from pyfastq_reader import fastq_reader
ModuleNotFoundError: No module named 'pyfastq_reader'

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.