NANOFILT(1)
π NanoFilt π
Okay bestie, this is the manual page for NanoFilt, filed under User Commands in section 1 π Let's get into it.
β¨ NAME β¨
NanoFilt is the tool for filtering and trimming long read sequencing data π§¬π
πΈ DESCRIPTION πΈ
Here's the usage line you'll see when you run it, so you know what the shape of the command looks like π
usage: NanoFilt [-h] [-v] [--logfile LOGFILE] [-l LENGTH]
[--maxlength MAXLENGTH] [-q QUALITY] [--minGC MINGC] [--maxGC
MAXGC] [--headcrop HEADCROP] [--tailcrop TAILCROP] [-s SUMMARY]
[--readtype {1D,2D,1D2}] [input]
NanoFilt can do quality, length, and/or GC filtering on (long read) fastq data, and it's giving main character energy because it reads from stdin π¦
π General options: π
-h,--helpβ shows you the help and then exits π-v,--versionβ prints the version and exits β¨--logfile LOGFILEβ lets you pick the path and filename for the log file πinputβ the input, which is an uncompressed fastq file π
π Options for filtering reads on.: π
-l LENGTH,--length LENGTHβ filters on a minimum read length π--maxlength MAXLENGTHβ filters on a maximum read length π-q QUALITY,--quality QUALITYβ filters on a minimum average read quality score π--minGC MINGCβ the sequences need GC content that's>=this number. It's a float between 0.0 and 1.0. Heads up, this one gets ignored if you're using a summary file π--maxGC MAXGCβ the sequences need GC content that's<=this number. It's a float between 0.0 and 1.0. Same deal, it gets ignored if you're using a summary file π
π¦ Options for trimming reads.: π¦
--headcrop HEADCROPβ trims n nucleotides off the start of the read βοΈ--tailcrop TAILCROPβ trims n nucleotides off the end of the read βοΈ
π§ Input options.: π§
-s SUMMARY,--summary SUMMARYβ uses an albacore or guppy summary file to get the quality scores π--readtype {1D,2D,1D2}β picks which read type to pull info about from the summary. Your choices are1D,2D, or1D2π
π EXAMPLES: π
Here are some looks you can copy. Slay π₯
gunzip -c reads.fastq.gz | NanoFilt -q 10 -l 500 --headcrop 50 | minimap2 genome.fa - | samtools sort -O BAM -@24 -o alignment.bam -
gunzip -c reads.fastq.gz | NanoFilt -q 12 --headcrop 75 | gzip > trimmed-reads.fastq.gz
gunzip -c reads.fastq.gz | NanoFilt -q 10 | gzip > highQuality-reads.fastq.gz
π«Ά SEE ALSO π«Ά
The full documentation for NanoFilt is maintained as a Texinfo manual. If the info and NanoFilt programs are properly installed at your site, the command below should give you access to the complete manual π
info NanoFilt
Bestie, that's the whole page π NanoFilt 2.6.0 from June 2020, filed under NANOFILT(1). Stay iconic ππ β¨
π¦ where this page comes from
- debian bookworm: nanofilt 2.8.0-1 Β· GPL-3.0-only
- debian trixie: nanofilt 2.8.0-1 Β· GPL-3.0-only
- ubuntu jammy: nanofilt 2.6.0-4 Β· GPL-3.0-only
- ubuntu noble: nanofilt 2.8.0-1 Β· GPL-3.0-only
- ubuntu questing: nanofilt 2.8.0-1
- ubuntu resolute: nanofilt 2.8.0-1build1 Β· GPL-3.0-only
- ubuntu stonking: nanofilt 2.8.0-1build1 Β· GPL-3.0-only
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms