SAMBAMBA-MILEUP(1)
β¨ SAMBAMBA-MILEUP β¨
okay bestie, pull up a chair, we're doing the sambamba-mileup page from the SAMBAMBA-MILEUP(1) manual π
this is the one about making a pileup, and honestly? it's giving parallel-processing main character energy π§
πΈ NAME πΈ
<pink>sambamba-mileup</pink> β make a pileup. that's it, that's the whole name section, short and slay π
π¦ SYNOPSIS π¦
sambamba mpileup OPTIONS <input1.bam> <input2.bam> [...] [--samtools
samtools mpileup args] [--bcftools bcftools args]
no cap, that's the exact shape of it. OPTIONS first, then as many .bam files as your little heart desires, then optionally the samtools args and optionally the bcftools args π«Ά
π DESCRIPTION π
so basically it's a parallel version of samtools mpileup done in map-reduce fashion β¨ like, Sambamba splits your input BAM files into chunks and feeds them to samtools mpileup and, optionally, bcftools, all in parallel. iconic behaviour, honestly.
and the chunks are slightly overlapping so that variant calling should not be impacted by these manipulations. the results from all the multiple processes get combined as ordered output π
also, named pipes are created in TMPDIR β yes queen, TMPDIR, remember that π
here's the tea though: sambamba mpileup relies on external tools and acts as a multi-core implementation of samtools + bcftools. so the following tools should be present in the PATH:
samtoolsbcftools(when used)
and now the little rules, pls read them, they matter:
- if
--samtoolsis skipped,samtools mpileupis called with default argumentssamtools - if
--bcftoolsis used without parameters,samtoolsis called with switch-guandbcftoolsis called asbcftools view -Ov - if
--bcftoolsis skipped,bcftoolsis not called
periodt π
π OPTIONS π
-F,--filter=FILTERβ set custom filter for alignments π-L,--regions=FILENAMEβ provide BED file with regions (no need to duplicate it in samtools args); all input files must be indexed β yes, all of them, no skipping π-o,--output-filename=<STDOUT>β specify output filename β¨-t,--nthreads=NTHREADSβ maximum number of threads to use π₯ go wild, but that's the ceiling-b,--buffer-size=4_000_000β chunk size (in bytes) π four million bytes of chunk, as a treat
π BUGS π
ngl this section is literally empty in the original. no bugs listed, nothing, just vibes. we love a clean slate π«Ά (and fr fr, if you find one, that's a you-and-the-maintainers conversation π)
π SEE ALSO π
okay this one's on me β the original page doesn't list a SEE ALSO section, so I'm not inventing one. no fake references, we don't do that here, iykyk π
and that's the whole page bestie, sending you off with the cute little sign-off from the bottom of the original: this was SAMBAMBA-MILEUP(1), dated January 2015 β yeah, she's a vintage queen and she still ate ππ¦π
π¦ where this page comes from
- debian bookworm: sambamba 1.0+dfsg-1 Β· GPL-2.0-or-later
- debian trixie: sambamba 1.0.1+dfsg-2+b1 Β· GPL-2.0-or-later
- ubuntu jammy: sambamba 0.8.2+dfsg-2 Β· GPL-2.0-or-later
- ubuntu noble: sambamba 1.0.1+dfsg-1build3 Β· GPL-2.0-or-later
- ubuntu questing: sambamba 1.0.1+dfsg-2build1
- ubuntu resolute: sambamba 1.0.1+dfsg-3ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: sambamba 1.0.1+dfsg-3ubuntu3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms