BCFtools is the variant calling component of the SAMtools/HTSlib ecosystem, maintained by the Wellcome Sanger Institute. It uses a classic pileup-based approach: for each genomic position, it stacks up all the reads, computes genotype likelihoods from the base and mapping qualities, then applies a Bayesian caller to determine genotypes.BCFtools is fast, lightweight, and well-suited for straightforward variant calling. Its two-stage pipeline (mpileup → call) gives miners independent control over the data preparation (mpileup) and genotyping (call) stages.
Takes genotype likelihoods from mpileup and applies a caller model:
Multiallelic caller (-m): Uses a constrained likelihood framework that considers all alleles simultaneously. Controlled by the prior parameter (mutation rate). The BCFtools documentation recommends this as the standard caller.
Consensus caller (-c): Uses a simple consensus approach controlled by pval_threshold.
Minimum mapping quality for a read to be included. The default of 0 includes all reads, even those mapping to multiple locations. Higher values filter ambiguously mapped reads.
min_BQ
-Q
0-50
13
Minimum base quality for a base to be considered. The default of 13 corresponds to roughly a 5% error rate. Higher values increase precision. Lower values increase sensitivity at the cost of more noise.
max_BQ
--max-BQ
1-90
60
Cap base qualities at this maximum value. Prevents overly optimistic quality scores from dominating the likelihood calculation. Useful when instrument base quality calibration is poor.
delta_BQ
--delta-BQ
0-99
30
Smoothing parameter: if a base’s quality exceeds its neighbor’s quality + delta_BQ, it’s reduced. Prevents isolated high-quality bases from having outsized influence. Lower values apply more aggressive smoothing. 99 effectively disables this filter.
adjust_MQ
-C
0-100
50
Coefficient for downward-adjusting mapping quality. Reduces the effective mapping quality, making the caller slightly more conservative. 0 disables the adjustment. If your BAMs are BWA-aligned, 50 is appropriate.
Maximum read depth per file. Positions exceeding this depth are downsampled randomly.
max_idepth
-L
1-10000
250
Maximum depth for indel calling specifically. If depth exceeds this, indel calling is skipped at that position. Must be proportional to expected coverage.
BAQ is a probabilistic realignment technique that adjusts base qualities near indels. It’s one of BCFtools’ key innovations for reducing false SNPs caused by indel-related misalignment.
Parameter
Flag
Values
Default
Description
no_BAQ
-B
true/false
false
Disable BAQ entirely. BAQ reduces false positive SNPs near indels but can also suppress real SNPs near real indels.
full_BAQ
-D
true/false
false
Apply BAQ on all reads, not just those in problematic regions. The default uses heuristics to decide when BAQ is needed. Enabling gives more thorough quality adjustment at the cost of some compute time.
redo_BAQ
-E
true/false
false
Recalculate BAQ from scratch, ignoring any existing BQ tags in the BAM. Enable if the BAM was processed by a pipeline that pre-computed BQ tags with different settings.
These parameters control the indel error model in mpileup and directly affect indel calling behavior.
Parameter
Flag
Range
Default
Description
open_prob
-o
1-60
40
Phred-scaled gap open probability. The value represents how unlikely the caller believes a gap opening (start of an indel) is due to sequencing error. Lower values mean the caller believes gap opens are more likely real (not errors), so it calls more indels. Higher values are more conservative.
ext_prob
-e
1-60
20
Phred-scaled gap extension probability. Controls how unlikely extending an existing gap is. Lower values make the caller more willing to call longer indels. Higher values penalize longer gaps.
gap_frac
-F
0.0-1.0
0.002
Minimum fraction of reads that must be gapped at a position for an indel candidate to be generated. Lower values increase indel sensitivity. Higher values reduce false positive indels.
tandem_qual
-h
0-1000
500
Coefficient for homopolymer error modeling. Given an l-long homopolymer run, the sequencing error of an indel of size s is modeled as tandem_qual * s / l. Higher values tell the caller that indels in homopolymers are more likely real (more calls). Lower values are more skeptical of homopolymer indels. The change from 100 (BCFtools 1.12) to 500 (1.20) significantly increased indel sensitivity.
Relative likelihood bias between deletions and insertions. Values below 1.0 make the caller believe deletions are less likely to be real (more likely artifacts). Values above 1.0 favor deletions. The default of 1.0 treats them equally. PacBio CCS profiles use 0.4 because PacBio reads have systematic deletion artifacts. For Illumina data, 1.0 is typical.
min_ireads
--min-ireads
1-100
1
Minimum number of gapped reads to generate an indel candidate. Higher values require more evidence before considering an indel, reducing false positives.
score_vs_ref
--score-vs-ref
0.0-1.0
0.0
Controls whether indel quality is scored against the reference allele (1.0) or the next-best alternative (0.0). Values between 0 and 1 interpolate. Higher values make indel calling more stringent (must clearly beat the reference). PacBio CCS profiles use 0.7.
Include anomalous read pairs — reads that are paired but not “properly paired” (unexpected insert size or orientation). By default, these are discarded. Enabling adds more data but may introduce mapping artifacts.
Use the multiallelic caller. When disabled, falls back to the consensus caller (-c). The multiallelic caller simultaneously evaluates all possible alleles at a site.
variants_only
-v
true/false
true
Only output variant sites. When disabled, all sites (including reference) are output.
Predefined ploidy model. GRCh38 applies diploid calling with appropriate sex chromosome handling.
prior
-P
0.0-1.0
0.0011
Expected substitution (mutation) rate. Only used with the multiallelic caller (-m). This is the Bayesian prior probability of observing a variant at any given position. Higher values increase sensitivity — the caller expects more variants. Lower values increase specificity.
pval_threshold
-p
0.0-1.0
0.5
P-value threshold for the consensus caller (-c) only. This parameter has no effect when using the multiallelic caller (-m).
The pval_threshold parameter only applies when using the consensus caller (-c). It has no effect when using the multiallelic caller (-m), which is the default and recommended mode.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Minos","colors":{"primary":"#4ade80","light":"#86efac","dark":"#22c55e"},"favicon":"/images/favicon.png","logo":{"light":"https://mintcdn.com/minos-0980d343/WfnLpBa7CYPYT3Kr/images/logo.png?fit=max\u0026auto=format\u0026n=WfnLpBa7CYPYT3Kr\u0026q=85\u0026s=0859838e82d63b5e8695aa2e230cc873","dark":"https://mintcdn.com/minos-0980d343/WfnLpBa7CYPYT3Kr/images/logo.png?fit=max\u0026auto=format\u0026n=WfnLpBa7CYPYT3Kr\u0026q=85\u0026s=0859838e82d63b5e8695aa2e230cc873","href":"https://theminos.ai"},"appearance":{"default":"dark","strict":null},"background":{"decoration":null,"color":{"light":"#fafafa","dark":"#050505"}},"navbar":{"links":[{"label":"GitHub","href":"https://github.com/minos-protocol/minos_subnet"}],"primary":null},"search":{"prompt":"Search docs..."},"footer":{"socials":{"x":"https://x.com/theminos_ai","github":"https://github.com/minos-protocol/minos_subnet"}},"fonts":{"heading":{"family":"JetBrains Mono","weight":700},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"minos-0980d343","hasAudioNarration":false,"actualSubdomain":"minos-0980d343","customDomains":["docs.theminos.ai"],"gitSource":{"type":"github","owner":"xtreme-varun-goyal","repo":"minos-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94ab390e885ae1a89385e:success","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Miner Guides","count":4},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#header{display:none}#pagination{margin-top:3rem!important;margin-bottom:2rem!important;padding-top:1.5rem!important;border-top:1px solid rgba(255, 255, 255, 0.08)!important}#footer{margin-top:1rem!important;padding-top:2rem!important}#assistant-entry,#assistant-entry-mobile,#chat-assistant-sheet,#chat-assistant-textarea,[class*=\"assistant\"],[id*=\"assistant\"],[class*=\"chat-assistant\"],[data-component-part*=\"assistant\"],[data-assistant-state] [class*=\"assistant\"],div:has(>[class*=\"assistant\"]){display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important}.navbar-link a[href*=\"github\"]{background-color:#4ade80!important;color:#050505!important;padding:0.4rem 0.9rem!important;border-radius:6px!important;font-weight:600!important;font-family:'JetBrains Mono', monospace!important;font-size:0.8rem!important;transition:background-color 0.2s ease!important}.navbar-link a[href*=\"github\"]:hover{background-color:#22c55e!important;color:#050505!important}.navbar-link a[href*=\"github\"]::before{content:\"\";display:inline-block;width:16px;height:16px;flex-shrink:0;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23050505'%3E%3Cpath d='M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z'/%3E%3C/svg%3E\");background-size:contain;background-repeat:no-repeat}[data-theme=\"dark\"] .card{border-color:rgba(74, 222, 128, 0.12);transition:border-color 0.2s ease}[data-theme=\"dark\"] .card:hover{border-color:rgba(74, 222, 128, 0.35)}[data-callout-type=\"info\"]{background-color:rgba(234, 179, 8, 0.06)!important;border-color:#eab308!important;color:#fde68a!important}[data-callout-type=\"info\"] svg{color:#eab308!important}[data-callout-type=\"info\"] strong{color:#fef08a!important}[data-callout-type=\"info\"] [data-component-part=\"callout-content\"]{color:#fde68a!important}.dark code:not(pre code),[data-theme=\"dark\"] code:not(pre code){color:#4ade80!important;background-color:rgba(74, 222, 128, 0.07)!important}.dark table th,[data-theme=\"dark\"] table th{font-family:'JetBrains Mono', monospace!important;font-size:0.78rem!important;letter-spacing:0.03em!important;text-transform:uppercase!important;color:#ffffff!important}.dark table td code,[data-theme=\"dark\"] table td code{color:#4ade80!important}[data-theme=\"dark\"] .nav-anchor{border-color:rgba(74, 222, 128, 0.15)}[data-theme=\"dark\"] .nav-anchor:hover{border-color:rgba(74, 222, 128, 0.4)}[data-theme=\"dark\"] #sidebar-content li[data-active]{color:#4ade80}[data-theme=\"dark\"] blockquote{border-left-color:rgba(74, 222, 128, 0.4)}[data-theme=\"dark\"] .steps .step::before,.dark .steps .step::before{background-color:#4ade80}[data-component-part=\"step-number\"]>div:first-child{background-color:rgba(74, 222, 128, 0.15)!important;color:#4ade80!important;border:1px solid rgba(74, 222, 128, 0.3)!important}[data-component-part=\"step-line\"]{background-color:rgba(74, 222, 128, 0.2)!important}[data-theme=\"dark\"] #topbar-cta-button{background-color:#4ade80;color:#050505;font-family:'JetBrains Mono', monospace;font-weight:600;font-size:0.8rem;letter-spacing:0.02em}[data-theme=\"dark\"] #topbar-cta-button:hover{background-color:#22c55e}"}],"page":{"pagePath":"guides/bcftools","slug":"/guides/bcftools","pageMetadata":{"title":"BCFtools","description":"Guide to mining with BCFtools mpileup/call on Minos","sidebarTitle":"BCFtools","icon":"terminal","og:image":"https://theminos.ai/og?title=BCFtools\u0026subtitle=Lightweight%20statistical%20caller\u0026section=MINER%20GUIDE","twitter:image":"https://theminos.ai/og?title=BCFtools\u0026subtitle=Lightweight%20statistical%20caller\u0026section=MINER%20GUIDE","href":"/guides/bcftools"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Guide to mining with BCFtools mpileup/call on Minos\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Docker Image:`}),` `,_jsx(_components.code,{children:`quay.io/biocontainers/bcftools:1.20`}),` + `,_jsx(_components.code,{children:`samtools:1.20`})]})}),`\n`,_jsxs(_components.p,{children:[`BCFtools is the variant calling component of the SAMtools/HTSlib ecosystem, maintained by the Wellcome Sanger Institute. It uses a classic `,_jsx(_components.strong,{children:`pileup-based approach`}),`: for each genomic position, it stacks up all the reads, computes genotype likelihoods from the base and mapping qualities, then applies a Bayesian caller to determine genotypes.`]}),`\n`,_jsx(_components.p,{children:`BCFtools is fast, lightweight, and well-suited for straightforward variant calling. Its two-stage pipeline (mpileup → call) gives miners independent control over the data preparation (mpileup) and genotyping (call) stages.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Approach`})}),_jsx(_components.td,{children:`Pileup-based genotype likelihoods + Bayesian caller`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Strengths`})}),_jsx(_components.td,{children:`Speed, low memory, independent pipeline control`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Parameters`})}),_jsx(_components.td,{children:`22 across 7 categories`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Compute`})}),_jsx(_components.td,{children:`Low`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsx(_components.p,{children:`The pipeline runs three stages:`}),`\n`,_jsx(Heading,{level:`3`,id:`1-bcftools-mpileup`,children:`1. bcftools mpileup`}),`\n`,_jsx(_components.p,{children:`Reads the BAM file and constructs a pileup at each genomic position. For each position, it computes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Base Alignment Quality (BAQ)`}),`: Probabilistic realignment that adjusts base qualities near indels to reduce false SNP calls caused by misalignment`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Genotype likelihoods`}),`: Based on base qualities, mapping qualities, and an indel error model`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Indel candidates`}),`: Using a gap-aware model with configurable open/extension penalties`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The mpileup stage outputs genotype likelihoods in BCF format.`}),`\n`,_jsx(Heading,{level:`3`,id:`2-bcftools-call`,children:`2. bcftools call`}),`\n`,_jsx(_components.p,{children:`Takes genotype likelihoods from mpileup and applies a caller model:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Multiallelic caller (`,_jsx(_components.code,{children:`-m`}),`)`]}),`: Uses a constrained likelihood framework that considers all alleles simultaneously. Controlled by the `,_jsx(_components.code,{children:`prior`}),` parameter (mutation rate). The BCFtools documentation recommends this as the standard caller.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Consensus caller (`,_jsx(_components.code,{children:`-c`}),`)`]}),`: Uses a simple consensus approach controlled by `,_jsx(_components.code,{children:`pval_threshold`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-bcftools-norm`,children:`3. bcftools norm`}),`\n`,_jsx(_components.p,{children:`Normalizes variants: left-aligns indels, splits multi-allelic sites, and ensures VCF consistency.`}),`\n`,_jsx(Heading,{level:`2`,id:`hyperparameters`,children:`Hyperparameters`}),`\n`,_jsx(Heading,{level:`3`,id:`base/mapping-quality-mpileup`,children:`Base/Mapping Quality (mpileup)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Range`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`min_MQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-q`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0-60`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0`}),_jsxs(_components.td,{children:[`Minimum mapping quality for a read to be included. The default of 0 includes `,_jsx(_components.strong,{children:`all reads`}),`, even those mapping to multiple locations. `,_jsx(_components.strong,{children:`Higher values`}),` filter ambiguously mapped reads.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`min_BQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-Q`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0-50`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`13`}),_jsxs(_components.td,{children:[`Minimum base quality for a base to be considered. The default of 13 corresponds to roughly a 5% error rate. `,_jsx(_components.strong,{children:`Higher values`}),` increase precision. `,_jsx(_components.strong,{children:`Lower values`}),` increase sensitivity at the cost of more noise.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_BQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--max-BQ`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1-90`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`60`}),_jsx(_components.td,{children:`Cap base qualities at this maximum value. Prevents overly optimistic quality scores from dominating the likelihood calculation. Useful when instrument base quality calibration is poor.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delta_BQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--delta-BQ`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0-99`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`30`}),_jsxs(_components.td,{children:[`Smoothing parameter: if a base’s quality exceeds its neighbor’s quality + delta_BQ, it’s reduced. Prevents isolated high-quality bases from having outsized influence. `,_jsx(_components.strong,{children:`Lower values`}),` apply more aggressive smoothing. `,_jsx(_components.strong,{children:`99 effectively disables`}),` this filter.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`adjust_MQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-C`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0-100`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`50`}),_jsxs(_components.td,{children:[`Coefficient for downward-adjusting mapping quality. Reduces the effective mapping quality, making the caller slightly more conservative. `,_jsx(_components.strong,{children:`0 disables`}),` the adjustment. If your BAMs are BWA-aligned, 50 is appropriate.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`depth-limits-mpileup`,children:`Depth Limits (mpileup)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Range`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_depth`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-d`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0-10000`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`250`}),_jsx(_components.td,{children:`Maximum read depth per file. Positions exceeding this depth are downsampled randomly.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_idepth`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-L`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1-10000`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`250`}),_jsxs(_components.td,{children:[`Maximum depth for `,_jsx(_components.strong,{children:`indel calling`}),` specifically. If depth exceeds this, indel calling is skipped at that position. Must be proportional to expected coverage.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`baq-—-base-alignment-quality-mpileup`,children:`BAQ — Base Alignment Quality (mpileup)`}),`\n`,_jsx(_components.p,{children:`BAQ is a probabilistic realignment technique that adjusts base qualities near indels. It’s one of BCFtools’ key innovations for reducing false SNPs caused by indel-related misalignment.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_BAQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-B`})}),_jsx(_components.td,{children:`true/false`}),_jsx(_components.td,{children:`false`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Disable BAQ entirely`}),`. BAQ reduces false positive SNPs near indels but can also suppress real SNPs near real indels.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`full_BAQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-D`})}),_jsx(_components.td,{children:`true/false`}),_jsx(_components.td,{children:`false`}),_jsxs(_components.td,{children:[`Apply BAQ on `,_jsx(_components.strong,{children:`all reads`}),`, not just those in problematic regions. The default uses heuristics to decide when BAQ is needed. `,_jsx(_components.strong,{children:`Enabling`}),` gives more thorough quality adjustment at the cost of some compute time.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`redo_BAQ`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-E`})}),_jsx(_components.td,{children:`true/false`}),_jsx(_components.td,{children:`false`}),_jsxs(_components.td,{children:[`Recalculate BAQ from scratch, ignoring any existing BQ tags in the BAM. `,_jsx(_components.strong,{children:`Enable`}),` if the BAM was processed by a pipeline that pre-computed BQ tags with different settings.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`indel-calling-mpileup`,children:`Indel Calling (mpileup)`}),`\n`,_jsx(_components.p,{children:`These parameters control the indel error model in mpileup and directly affect indel calling behavior.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Range`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`open_prob`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-o`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1-60`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`40`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Phred-scaled gap open probability`}),`. The value represents how unlikely the caller believes a gap opening (start of an indel) is due to sequencing error. `,_jsx(_components.strong,{children:`Lower values`}),` mean the caller believes gap opens are more likely real (not errors), so it calls more indels. `,_jsx(_components.strong,{children:`Higher values`}),` are more conservative.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ext_prob`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-e`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1-60`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`20`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Phred-scaled gap extension probability`}),`. Controls how unlikely extending an existing gap is. `,_jsx(_components.strong,{children:`Lower values`}),` make the caller more willing to call longer indels. `,_jsx(_components.strong,{children:`Higher values`}),` penalize longer gaps.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gap_frac`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-F`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.0-1.0`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.002`}),_jsxs(_components.td,{children:[`Minimum fraction of reads that must be gapped at a position for an indel candidate to be generated. `,_jsx(_components.strong,{children:`Lower values`}),` increase indel sensitivity. `,_jsx(_components.strong,{children:`Higher values`}),` reduce false positive indels.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tandem_qual`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-h`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0-1000`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsxs(_components.td,{children:[`Coefficient for homopolymer error modeling. Given an l-long homopolymer run, the sequencing error of an indel of size s is modeled as `,_jsx(_components.code,{children:`tandem_qual * s / l`}),`. `,_jsx(_components.strong,{children:`Higher values`}),` tell the caller that indels in homopolymers are more likely real (more calls). `,_jsx(_components.strong,{children:`Lower values`}),` are more skeptical of homopolymer indels. The change from 100 (BCFtools 1.12) to 500 (1.20) significantly increased indel sensitivity.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`indel_bias`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--indel-bias`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.1-5.0`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1.0`}),_jsx(_components.td,{children:`Global scaling factor for indel scores. Values below 1.0 reduce indel calling (favor precision). Values above 1.0 increase indel calling (favor recall).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`del_bias`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--del-bias`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.1-2.0`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1.0`}),_jsx(_components.td,{children:`Relative likelihood bias between deletions and insertions. Values below 1.0 make the caller believe deletions are less likely to be real (more likely artifacts). Values above 1.0 favor deletions. The default of 1.0 treats them equally. PacBio CCS profiles use 0.4 because PacBio reads have systematic deletion artifacts. For Illumina data, 1.0 is typical.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`min_ireads`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--min-ireads`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1-100`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1`}),_jsxs(_components.td,{children:[`Minimum number of gapped reads to generate an indel candidate. `,_jsx(_components.strong,{children:`Higher values`}),` require more evidence before considering an indel, reducing false positives.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`score_vs_ref`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--score-vs-ref`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.0-1.0`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.0`}),_jsxs(_components.td,{children:[`Controls whether indel quality is scored against the reference allele (1.0) or the next-best alternative (0.0). Values between 0 and 1 interpolate. `,_jsx(_components.strong,{children:`Higher values`}),` make indel calling more stringent (must clearly beat the reference). PacBio CCS profiles use 0.7.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`read-filtering-mpileup`,children:`Read Filtering (mpileup)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`count_orphans`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-A`})}),_jsx(_components.td,{children:`true/false`}),_jsx(_components.td,{children:`false`}),_jsxs(_components.td,{children:[`Include `,_jsx(_components.strong,{children:`anomalous read pairs`}),` — reads that are paired but not “properly paired” (unexpected insert size or orientation). By default, these are discarded. `,_jsx(_components.strong,{children:`Enabling`}),` adds more data but may introduce mapping artifacts.`]})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`caller-mode-call`,children:`Caller Mode (call)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`multiallelic_caller`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-m`})}),_jsx(_components.td,{children:`true/false`}),_jsx(_components.td,{children:`true`}),_jsxs(_components.td,{children:[`Use the `,_jsx(_components.strong,{children:`multiallelic caller`}),`. When disabled, falls back to the consensus caller (`,_jsx(_components.code,{children:`-c`}),`). The multiallelic caller simultaneously evaluates all possible alleles at a site.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`variants_only`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-v`})}),_jsx(_components.td,{children:`true/false`}),_jsx(_components.td,{children:`true`}),_jsx(_components.td,{children:`Only output variant sites. When disabled, all sites (including reference) are output.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`genotyping-call`,children:`Genotyping (call)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Range`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ploidy`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--ploidy`})}),_jsx(_components.td,{children:`GRCh37 / GRCh38 / X / Y / 1 / 2`}),_jsx(_components.td,{children:`GRCh38`}),_jsxs(_components.td,{children:[`Predefined ploidy model. `,_jsx(_components.code,{children:`GRCh38`}),` applies diploid calling with appropriate sex chromosome handling.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prior`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-P`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.0-1.0`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.0011`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Expected substitution (mutation) rate`}),`. Only used with the multiallelic caller (`,_jsx(_components.code,{children:`-m`}),`). This is the Bayesian prior probability of observing a variant at any given position. `,_jsx(_components.strong,{children:`Higher values`}),` increase sensitivity — the caller expects more variants. `,_jsx(_components.strong,{children:`Lower values`}),` increase specificity.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pval_threshold`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-p`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.0-1.0`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.5`}),_jsxs(_components.td,{children:[`P-value threshold for the `,_jsxs(_components.strong,{children:[`consensus caller (`,_jsx(_components.code,{children:`-c`}),`) only`]}),`. This parameter has no effect when using the multiallelic caller (`,_jsx(_components.code,{children:`-m`}),`).`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`pval_threshold`}),` parameter only applies when using the consensus caller (`,_jsx(_components.code,{children:`-c`}),`). It has `,_jsx(_components.strong,{children:`no effect`}),` when using the multiallelic caller (`,_jsx(_components.code,{children:`-m`}),`), which is the default and recommended mode.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"BCFtools","description":"Guide to mining with BCFtools mpileup/call on Minos","sidebarTitle":"BCFtools","icon":"terminal","og:image":"https://theminos.ai/og?title=BCFtools\u0026subtitle=Lightweight%20statistical%20caller\u0026section=MINER%20GUIDE","twitter:image":"https://theminos.ai/og?title=BCFtools\u0026subtitle=Lightweight%20statistical%20caller\u0026section=MINER%20GUIDE","href":"/guides/bcftools"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":2,"children":[{"title":"1. bcftools mpileup","slug":"1-bcftools-mpileup","depth":3,"children":[]},{"title":"2. bcftools call","slug":"2-bcftools-call","depth":3,"children":[]},{"title":"3. bcftools norm","slug":"3-bcftools-norm","depth":3,"children":[]}]},{"title":"Hyperparameters","slug":"hyperparameters","depth":2,"children":[{"title":"Base/Mapping Quality (mpileup)","slug":"base/mapping-quality-mpileup","depth":3,"children":[]},{"title":"Depth Limits (mpileup)","slug":"depth-limits-mpileup","depth":3,"children":[]},{"title":"BAQ — Base Alignment Quality (mpileup)","slug":"baq-—-base-alignment-quality-mpileup","depth":3,"children":[]},{"title":"Indel Calling (mpileup)","slug":"indel-calling-mpileup","depth":3,"children":[]},{"title":"Read Filtering (mpileup)","slug":"read-filtering-mpileup","depth":3,"children":[]},{"title":"Caller Mode (call)","slug":"caller-mode-call","depth":3,"children":[]},{"title":"Genotyping (call)","slug":"genotyping-call","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/minos-0980d343/ed8e95540ea58bc0/hide-ai.js"],"subdomain":"minos-0980d343","siteName":"Minos","title":"BCFtools - Minos","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-24T02:39:37.955Z","originalFileLocation":"guides/bcftools.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Guide to mining with BCFtools mpileup/call on Minos\">\u003cmeta data-mint-head name=\"application-name\" content=\"Minos\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"BCFtools - Minos\">\u003cmeta data-mint-head property=\"og:description\" content=\"Guide to mining with BCFtools mpileup/call on Minos\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Minos\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.theminos.ai/guides/bcftools\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://theminos.ai/og?title=BCFtools\u0026amp;subtitle=Lightweight%20statistical%20caller\u0026amp;section=MINER%20GUIDE\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"BCFtools - Minos\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Guide to mining with BCFtools mpileup/call on Minos\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://theminos.ai/og?title=BCFtools\u0026amp;subtitle=Lightweight%20statistical%20caller\u0026amp;section=MINER%20GUIDE\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/minos-0980d343/InuauSKC0uXX74Sh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Minos\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4ade80\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.theminos.ai/guides/bcftools\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/bcftools.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.theminos.ai/#organization\",\"name\":\"Minos\",\"url\":\"https://docs.theminos.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/minos-0980d343/WfnLpBa7CYPYT3Kr/images/logo.png?fit=max\u0026auto=format\u0026n=WfnLpBa7CYPYT3Kr\u0026q=85\u0026s=0859838e82d63b5e8695aa2e230cc873\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.theminos.ai#website\",\"name\":\"Minos\",\"url\":\"https://docs.theminos.ai\",\"publisher\":{\"@id\":\"https://docs.theminos.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.theminos.ai/guides/bcftools#webpage\",\"url\":\"https://docs.theminos.ai/guides/bcftools\",\"name\":\"BCFtools\",\"description\":\"Guide to mining with BCFtools mpileup/call on Minos\",\"dateModified\":\"2026-03-24T02:39:37.955Z\",\"isPartOf\":{\"@id\":\"https://docs.theminos.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.theminos.ai/guides/bcftools#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.theminos.ai/guides/bcftools#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Miner Guides\",\"item\":\"https://docs.theminos.ai/guides/gatk\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BCFtools\",\"item\":\"https://docs.theminos.ai/guides/bcftools\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.theminos.ai/guides/bcftools#article\",\"headline\":\"BCFtools\",\"name\":\"BCFtools\",\"description\":\"Guide to mining with BCFtools mpileup/call on Minos\",\"url\":\"https://docs.theminos.ai/guides/bcftools\",\"mainEntityOfPage\":{\"@id\":\"https://docs.theminos.ai/guides/bcftools#webpage\"},\"image\":\"https://theminos.ai/og?title=BCFtools\u0026subtitle=Lightweight%20statistical%20caller\u0026section=MINER%20GUIDE\",\"dateModified\":\"2026-03-24T02:39:37.955Z\",\"publisher\":{\"@id\":\"https://docs.theminos.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.theminos.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Minos\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Minos","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Overview","sidebarTitle":"Overview","icon":"house","href":"/overview"},{"title":"Architecture","sidebarTitle":"Architecture","icon":"sitemap","href":"/architecture"},{"title":"Quickstart","sidebarTitle":"Quickstart","icon":"rocket","href":"/quickstart"}]},{"group":"Miner Guides","pages":[{"title":"GATK HaplotypeCaller","sidebarTitle":"GATK","icon":"terminal","href":"/guides/gatk"},{"title":"DeepVariant","sidebarTitle":"DeepVariant","icon":"terminal","href":"/guides/deepvariant"},{"title":"FreeBayes","description":"Guide to mining with FreeBayes on Minos","sidebarTitle":"FreeBayes","icon":"terminal","href":"/guides/freebayes"},{"title":"BCFtools","sidebarTitle":"BCFtools","icon":"terminal","href":"/guides/bcftools"}]}]},"basePath":"","title":"BCFtools - Minos","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}