Git Product home page Git Product logo

nanostat's Introduction

NanoStat

Calculate various statistics from an Oxford Nanopore dataset in fastq, bam or albacore sequencing summary format.

INSTALLATION

pip install nanostat

or
install with conda

conda install -c bioconda nanostat

USAGE

NanoStat [-h] [-v] [-o OUTDIR] [-p PREFIX] [-t THREADS]
                (--fastq FASTQ | --summary SUMMARY | --bam BAM)

Get statistics of Oxford Nanopore read dataset.

Mandatory one of the following data sources:
--fastq FASTQ         Data is in fastq format.
--summary SUMMARY     Data is a summary file generated by albacore.
--bam BAM             Data as a sorted bam file.

Optional arguments:
  -h, --help            show this help message and exit
  -v, --version         Print version and exit.
  -o, --outdir OUTDIR   Specify directory in which output has to be created.
  -p, --prefix PREFIX   Specify an optional prefix to be used for the output files.
  -t, --threads THREADS Set the allowed number of threads to be used by the script

STATUS

Build Status

Example output

Number of reads:	408254
Total bases:	3508315665
Median read length:	5168.0
Mean read length:	8593.46
Readlength N50:	39346

Top 5 read lengths and their average basecall quality score:
Length: 255821bp	Q: 6.84
Length: 254573bp	Q: 7.09
Length: 253711bp	Q: 6.96
Length: 245784bp	Q: 6.98
Length: 245776bp	Q: 7.06

Top 5 average basecall quality scores and their read lengths:
Length: 407bp	Q: 16.22
Length: 880bp	Q: 16.18
Length: 729bp	Q: 16.12
Length: 1057bp	Q: 16.08
Length: 841bp	Q: 15.84

Number of reads and fraction above quality cutoffs:
Q5:	406428	99.55%
Q10:	305509	74.83%
Q15:	124	0.03%
Q20:	0	0.0%

nanostat's People

Contributors

wdecoster avatar

Watchers

Andreas Sjödin avatar James Cloos avatar  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.