Giter VIP home page Giter VIP logo

nanolyse's Introduction

NanoLyse

Remove reads mapping to the lambda phage genome from a fastq file.
This script uses Heng Li's minimap2 and his mappy Python binding.

Twitter URL Build Status install with bioconda

INSTALLATION

pip install NanoLyse

USAGE

Reads fastq from stdin and writes to stdout.  

NanoLyse [-h] [-v] [-r REFERENCE]

                    Remove reads mapping to the lambda genome.
                    Reads fastq from stdin and writes to stdout.

                    Example usage:
                    zcat reads.fastq.gz | NanoLyse | gzip > reads_without_lambda.fastq.gz


optional arguments:
  -h, --help            show this help message and exit
  -v, --version         Print version and exit.
  -r REFERENCE, --reference REFERENCE
                        Specify a reference fasta file against which to filter.

WARNING

If (some of) the reads of your genome of interest are sufficiently similar to the lambda genome those reads will be lost.

EXAMPLES

gunzip -c reads.fastq.gz | NanoLyse | gzip > reads_without_lambda.fastq.gz
In combination with NanoFilt:
gunzip -c reads.fastq.gz | NanoLyse | NanoFilt -q 12 | gzip > filtered_reads_without_lambda.fastq.gz
Using a different genome to filter on (rather than lambda phage):
gunzip -c reads.fastq.gz | NanoLyse --reference mygenome.fa.gz | gzip > reads_without_mygenome.fastq.gz

I welcome all suggestions, bug reports, feature requests and contributions. Please leave an issue or open a pull request. I will usually respond within a day, or rarely within a few days.

CITATION

If you use this tool, please consider citing our publication.

nanolyse's People

Contributors

wdecoster avatar

Watchers

James Cloos 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.