Skip to main content

Removing reads mapping to the lambda genome

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NanoLyse-1.1.4.tar.gz (20.9 kB view details)

Uploaded Source

File details

Details for the file NanoLyse-1.1.4.tar.gz.

File metadata

  • Download URL: NanoLyse-1.1.4.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for NanoLyse-1.1.4.tar.gz
Algorithm Hash digest
SHA256 df43b5b64bfc645d218dea163fedbf45277d6c4ff789b765c4fec7f31403a77f
MD5 943c383126e805173a9ece365c4ac651
BLAKE2b-256 9bef2e61572f14fcb8001ff6aa861f68be1ca7d971ec191a3a6d566c7b3c1874

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page