bcftools Verified for current stable LTS

Bcftools Command: Sort Vcf File And Index Output

Use for sort vcf file and index output with Bcftools. Exact CLI syntax to sort vcf file and index output using Bcftools.

When to use this: Use for sort vcf file and index output with Bcftools.

Command Syntax

bcftools sort <path/to/input.vcf.gz> -O b -o <path/to/sorted.bcf> -W

Command Breakdown

-O
Command Option
Tool-specific option used by this command invocation.
-o
Command Option
Tool-specific option used by this command invocation.
-W
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to sort vcf file and index output using Bcftools.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Bcftools directory