@@ -303,8 +303,11 @@ Such a file can be easily created from a VCF using:
303303 Use multithreading with 'INT' worker threads. The option is currently used only for the compression of the
304304 output stream, only when '--output-type' is 'b' or 'z'. Default: 0.
305305
306- *--write-index*::
307- Automatically index the output files. Can be used only for compressed BCF and VCF output.
306+ *--write-index[=FMT]*::
307+ Automatically index the output files. FMT is optional and can be
308+ one of tbi or csi depending on output file format. Defaults to
309+ CSI unless specified otherwise. Can be used only for compressed
310+ BCF and VCF output.
308311
309312
310313[[annotate]]
@@ -509,8 +512,9 @@ Add or remove annotations.
509512 "^INFO/FOO,INFO/BAR" (and similarly for FORMAT and FILTER).
510513 "INFO" can be abbreviated to "INF" and "FORMAT" to "FMT".
511514
512- *--write-index*::
513- Automatically index the output file
515+ *--write-index[=FMT]*::
516+ Automatically index the output file. FMT is optional and can be
517+ one of tbi or csi depending on output file format.
514518
515519*Examples:*
516520----
@@ -615,8 +619,9 @@ demand. The original calling model can be invoked with the *-c* option.
615619*--threads* 'INT'::
616620 see *<<common_options,Common Options>>*
617621
618- *--write-index*::
619- Automatically index the output file
622+ *--write-index[=FMT]*::
623+ Automatically index the output file. FMT is optional and can be
624+ one of tbi or csi depending on output file format.
620625
621626==== Input/output options:
622627
@@ -895,8 +900,9 @@ are concatenated without being recompressed, which is very fast..
895900*--threads* 'INT'::
896901 see *<<common_options,Common Options>>*
897902
898- *--write-index*::
899- Automatically index the output file
903+ *--write-index[=FMT]*::
904+ Automatically index the output file. FMT is optional and can be
905+ one of tbi or csi depending on output file format.
900906
901907
902908[[consensus]]
@@ -1051,8 +1057,9 @@ Note that the *-H, --haplotype* option requires the *-s, --samples* option, unle
10511057*--targets-overlap* '0'|'1'|'2'::
10521058 see *<<common_options,Common Options>>*
10531059
1054- *--write-index*::
1055- Automatically index the output file
1060+ *--write-index[=FMT]*::
1061+ Automatically index the output file. FMT is optional and can be
1062+ one of tbi or csi depending on output file format.
10561063
10571064==== VCF output options:
10581065
@@ -1452,8 +1459,9 @@ output VCF and are ignored for the prediction analysis.
14521459 and VCF, such as "chrX" vs "X". The chromosome names in the output VCF will match
14531460 that of the input VCF. The default is to attempt the automatic translation.
14541461
1455- *--write-index*::
1456- Automatically index the output file
1462+ *--write-index[=FMT]*::
1463+ Automatically index the output file. FMT is optional and can be
1464+ one of tbi or csi depending on output file format.
14571465
14581466*Examples:*
14591467----
@@ -1622,8 +1630,9 @@ And similarly here, the second is filtered:
16221630*--threads* 'INT'::
16231631 see *<<common_options,Common Options>>*
16241632
1625- *--write-index*::
1626- Automatically index the output file
1633+ *--write-index[=FMT]*::
1634+ Automatically index the output file. FMT is optional and can be
1635+ one of tbi or csi depending on output file format.
16271636
16281637
16291638
@@ -1921,8 +1930,10 @@ in the other files.
19211930 comma-separated list of input files to output given as 1-based indices. With *-p* and no
19221931 *-w*, all files are written.
19231932
1924- *--write-index*::
1925- Automatically index the output file. This is done automatically with the *-p* option.
1933+ *--write-index[=FMT]*::
1934+ Automatically index the output file. FMT is optional and defaults
1935+ to tbi for vcf.gz and csi for bcf. This is done automatically
1936+ with the *-p* option if the output format is compressed.
19261937
19271938==== Examples:
19281939
@@ -2079,8 +2090,9 @@ For "vertical" merge take a look at *<<concat,bcftools concat>>* or *<<norm,bcft
20792090*--threads* 'INT'::
20802091 see *<<common_options,Common Options>>*
20812092
2082- *--write-index*::
2083- Automatically index the output file
2093+ *--write-index[=FMT]*::
2094+ Automatically index the output file. FMT is optional and can be
2095+ one of tbi or csi depending on output file format.
20842096
20852097[[mpileup]]
20862098=== bcftools mpileup ['OPTIONS'] *-f* 'ref.fa' 'in.bam' ['in2.bam' [...]]
@@ -2343,8 +2355,9 @@ INFO/DPR .. Deprecated in favor of INFO/AD; Number of high-quality bases for
23432355 used by the earlier Bcftools releases. For excample BQBZ becomes
23442356 BQB.
23452357
2346- *--write-index*::
2347- Automatically index the output file
2358+ *--write-index[=FMT]*::
2359+ Automatically index the output file. FMT is optional and can be
2360+ one of tbi or csi depending on output file format.
23482361
23492362==== Options for SNP/INDEL genotype likelihood computation
23502363
@@ -2632,8 +2645,9 @@ the *<<fasta_ref,--fasta-ref>>* option is supplied.
26322645 maximum distance between two records to consider when locally
26332646 sorting variants which changed position during the realignment
26342647
2635- *--write-index*::
2636- Automatically index the output file
2648+ *--write-index[=FMT]*::
2649+ Automatically index the output file. FMT is optional and can be
2650+ one of tbi or csi depending on output file format.
26372651
26382652[[plugin]]
26392653
@@ -2691,8 +2705,9 @@ the usage examples that each plugin comes with.
26912705*--threads* 'INT'::
26922706 see *<<common_options,Common Options>>*
26932707
2694- *--write-index*::
2695- Automatically index the output file
2708+ *--write-index[=FMT]*::
2709+ Automatically index the output file. FMT is optional and can be
2710+ one of tbi or csi depending on output file format.
26962711
26972712==== Plugin options:
26982713
@@ -3327,8 +3342,9 @@ Transition probabilities:
33273342 Use this directory to store temporary files. If the last six characters of the string DIR are XXXXXX,
33283343 then these are replaced with a string that makes the directory name unique.
33293344
3330- *--write-index*::
3331- Automatically index the output file
3345+ *--write-index[=FMT]*::
3346+ Automatically index the output file. FMT is optional and can be
3347+ one of tbi or csi depending on output file format.
33323348
33333349
33343350
@@ -3477,8 +3493,9 @@ Convert between VCF and BCF. Former *bcftools subset*.
34773493*--threads* 'INT'::
34783494 see *<<common_options,Common Options>>*
34793495
3480- *--write-index*::
3481- Automatically index the output file
3496+ *--write-index[=FMT]*::
3497+ Automatically index the output file. FMT is optional and can be
3498+ one of tbi or csi depending on output file format.
34823499
34833500
34843501==== Subset options:
0 commit comments