FLEXBAR(1)
β¨ FLEXBAR(1) β¨
User Commands β ok bestie, gather round, we're talking about flexbar(1) π
πΈ NAME πΈ
flexbar β the flexible barcode and adapter removal situation for sequencing platforms. it's giving β¨cleanup eraβ¨
π SYNOPSIS π
flexbar -r reads [-t target] [-b barcodes] [-a adapters] [options]
π¦ DESCRIPTION π¦
okay so Flexbar preprocesses high-throughput sequencing data efficiently, no cap. it demultiplexes barcoded runs AND removes adapter sequences. and that's not all β trimming and filtering features are provided too π«Ά. Flexbar increases mapping rates and improves genome and transcriptome assemblies. it supports next-generation sequencing data in fasta/q and csfasta/q format from Illumina, Roche 454, and the SOLiD platform. iconic behavior honestly π
β οΈ bestie listen β parameter names changed in Flexbar. Please review scripts. do not just run your old script and expect the vibes to be the same, i am begging π
the recent months, default settings were optimised, several bugs were fixed and various improvements were made, e.g. revamped command-line interface, new trimming modes as well as lower time and memory requirements. glow up fr fr β¨
π the tiny little flags that just print stuff π
-h,--helpβ displays this help message. your girl's your girl's help. π-w,--advancedβ print advanced options help screen. there's MORE. always more. π-i,--citeβ show program reference for citation. cite her, she worked hard. π
π Basic options:
-n,--threads NUMβ number of threads to employ. Default:1. give her more threads, she'll give you more speed π§-t,--target STRβ prefix for output file names or paths. Default:flexbar. name your children π₯Ί-r,--reads FILEβ Fasta/q file or stdin (-) with reads that may contain barcodes. the main character input fr.-p,--reads2 FILEβ second input file of paired reads,gzandbz2files supported. the plus one π-f,--format STRβ quality format:sanger,solexa,i1.3,i1.5,i1.8(illumina 1.8+). pick your era, bestie π°οΈ-c,--color-spaceβ input in color-space formatcsfastaorcsfastqin sanger scaling. π retro vibes
π Barcode detection:
-b,--barcodes FILEβ Fasta file with barcodes for demultiplexing that may containN. π·οΈ-br,--barcode-reads FILEβ Fasta/q file composed of separate barcode reads for detection. π§¬-be,--barcode-trim-end STRβ type of detection, see section trim-end modes. Default:ANY.-bo,--barcode-min-overlap NUMβ minimum overlap of barcode and read. Default:barcode length.-bt,--barcode-threshold NUMβ allowed mismatches and gaps per10bases overlap. Default:1.0.-bu,--barcode-unassignedβ include unassigned reads in output generation. nobody gets left out in this house π«Ά
π Adapter removal:
-a,--adapters FILEβ Fasta file with adapters for removal that may containN. bye adapter π-as,--adapter-seq STRβ single adapter sequence as alternative to adapters option. one adapter, one moment, one vibe β¨-ae,--adapter-trim-end STRβ type of removal, see section trim-end modes. Default:RIGHT.-ao,--adapter-min-overlap NUMβ minimum overlap of adapter and read sequence. Default:1.-at,--adapter-threshold NUMβ allowed mismatches and gaps per10bases overlap. Default:3.0.
π Filtering and trimming:
-u,--max-uncalled NUMβ allowed uncalled bases (Nor.) for each read. Default:0.-x,--pre-trim-left NUMβ trim given number of bases on 5' read end before detection. βοΈ-y,--pre-trim-right NUMβ trim specified number of bases on 3' end prior to detection. βοΈ-q,--pre-trim-phred NUMβ trim 3' end until specified or higher quality reached. quality queen check β-k,--post-trim-length NUMβ trim to specified read length from 3' end after removal. π-m,--min-read-length NUMβ minimum read length to remain after removal. Default:18. short king? rejected. π
π Output selection:
-o,--fasta-outputβ prefer non-quality formatsfastaandcsfastafor output.-z,--zip-output STRβ enable direct compression of output files. One ofGZandBZ2. zip it, lock it, slay it π-s,--single-readsβ write single paired reads for too short counterparts. keep the lonely ones too π₯Ί
π§ Logging and tagging:
-l,--log-level STRβ print valid optimal read alignment. One ofALL,MOD, andTAB.-g,--removal-tagsβ tag reads that are subject to adapter or barcode removal. π·οΈβ¨
π« Trim-end modes:
okay this is the part everyone skips and then everyone is confused, so READ IT bestie π
ANY: longer side of read remains after removal of overlapLEFT: right side remains after removal, align <= read endRIGHT: left part remains after removal, align >= read startLEFT_TAIL: consider firstnbases of reads in alignmentRIGHT_TAIL: use only lastnbases, see tail-length options
π₯ EXAMPLES π₯
look at her go:
flexbar -r reads.fq -f i1.8 -t target -b brc.fa -a adap.fa
flexbar -r reads.csfastq.gz -a adap.fa -ao 5 -ae LEFT -c
copy them exactly, no improvising bestie, this is not jazz π·
β VERSION β
flexbar version: 2.4 Last update July 29, 2013
Advanced options: flexbar -w
flexbar version 2.4
and that's the whole page π«Ά flexbar version 2.4, born January 2014, part of the FLEXBAR(1) manual family β she's an icon, she's a legend, and she is the moment. go trim something, bestie. periodt. πβ¨π
π¦ where this page comes from
- debian bookworm: flexbar 1:3.5.0-5 Β· GPL-3.0-or-later
- debian trixie: flexbar 1:3.5.0-5 Β· GPL-3.0-or-later
- ubuntu jammy: flexbar 1:3.5.0-4ubuntu1 Β· GPL-3.0-or-later
- ubuntu noble: flexbar 1:3.5.0-5 Β· GPL-3.0-or-later
- ubuntu questing: flexbar 1:3.5.0-5
- ubuntu resolute: flexbar 1:3.5.0-7 Β· GPL-3.0-or-later
- ubuntu stonking: flexbar 1:3.5.0-8 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms