SAMBLASTER:(1)
π SAMBLASTER:(1) π
okay bestie, welcome to the User Commands section of the manual, and this one? this one is samblaster: β the post-processing queen for your aligner output (bwa mem girlies, this is for you) π
β¨ NAME β¨
samblaster: β post processing on an aligner (eg. bwa mem):
πΈ SYNOPSIS πΈ
bwa mem <idxbase> samp.r1.fq samp.r2.fq | samblaster [-e] [-d
samp.disc.sam] [-s samp.split.sam] | samtools view -Sb - > samp.out.bam
bwa mem -M <idxbase> samp.r1.fq samp.r2.fq | samblaster -M [-e] [-d
samp.disc.sam] [-s samp.split.sam] | samtools view -Sb - > samp.out.bam
π¦ DESCRIPTION π¦
so basically, this tool marks duplicates for you, and if you want, it can also spit out split reads and/or discordant pairs. the way that it just handles all of that?? iconic. β¨
β οΈ your input sam file must contain paired end data, must contain a sequence header, and must be sorted by read ids. no cap, it will not play with you otherwise.
the output is literally every alignment in the exact same order as the input, with duplicates marked with FLAG 0x400. periodt. π
π For use with a pre-existing bam file to pull split, discordant and/or unmapped reads:
samtools view -h samp.bam | samblaster [-a] [-e] [-d
samp.disc.sam] [-s samp.split.sam] [-u samp.umc.fasta] -o
/dev/null
π OPTIONS π
π Input/Output Options:
-i,--inputFILE β the input sam file you're feeding in. [default:stdin]-o,--outputFILE β output sam file with all your input alignments. [default:stdout]-d,--discordantFileFILE β dumps discordant read pairs into this file. [default: no discordant file output]-s,--splitterFileFILE β dumps split reads into this file, abiding by the parameters below. [default: no splitter file output]-u,--unmappedFileFILE β dumps unmapped/clipped reads as FASTQ into this file, abiding by the parameters below. [default: no unmapped file output]
π₯ Requires soft clipping in the input file. will output FASTQ if QUAL information is available, otherwise FASTA. iykyk.
π Other Options:
-a,--acceptDupMarksβ accept the duplicate marks that are already in the input file instead of looking for duplicates in the input. trust the input, bestie.-e,--excludeDupsβ exclude reads marked as duplicates from the discordant, splitter, and/or unmapped file. bye girl π-r,--removeDupsβ remove duplicate reads from all output files. (this implies--excludeDups).--addMateTagsβ addMCandMQtags to all output paired-end SAM lines. cute little tags for your mates π--ignoreUnmatedβ suppress abort on unmated alignments. > π¨ Use only when you're sure the input is read-id grouped and the alignments have been filtered. do not be reckless with this one, fr fr.-Mβ run in compatibility mode; both0x100and0x800are considered chimeric. Similar to BWA MEM-Moption.--maxSplitCountINT β maximum number of split alignments for a read to be included in the splitter file. [default:2]--maxUnmappedBasesINT β maximum number of un-aligned bases between two alignments to be included in the splitter file. [default:50]--minIndelSizeINT β minimum structural variant feature size for split alignments to be included in the splitter file. [default:50]--minNonOverlapINT β minimum non-overlaping base pairs between two alignments for a read to be included in the splitter file. [default:20]--minClipSizeINT β minimum number of bases a mapped read must be clipped to be included in the unmapped file. [default:20]-q,--quietβ output fewer statistics. sometimes you just don't wanna hear it π€«
β VERSION β
0.1.24
π AUTHOR π
Greg Faust (gf4ea@virginia.edu)
and that's the whole vibe, bestie π«Ά this was samblaster: Version 0.1.24, from way back in July 2018 β go forth and mark those duplicates, you absolute main character π§β¨π
π¦ where this page comes from
- debian bookworm: samblaster 0.1.26-4 Β· MIT
- debian trixie: samblaster 0.1.26-4 Β· MIT
- ubuntu jammy: samblaster 0.1.26-3 Β· MIT
- ubuntu noble: samblaster 0.1.26-4 Β· MIT
- ubuntu questing: samblaster 0.1.26-4
- ubuntu resolute: samblaster 0.1.26-4build1 Β· MIT
- ubuntu stonking: samblaster 0.1.26-4build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms