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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file NanoLyse-1.2.1.tar.gz
.
File metadata
- Download URL: NanoLyse-1.2.1.tar.gz
- Upload date:
- Size: 36.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 933ee668da805fc9ec9fa86c9fca81a073438d45b5f64e23cf606c01e715b1d5 |
|
MD5 | 14af790eba5beb42c13121a2c9de4b04 |
|
BLAKE2b-256 | 01057e51f6507843d7a0aa72c1164368acfd75b417b93b7ea098869181c4c1b6 |