| | VCF file or tabix-indexed FILE with annotations: CHR\tPOS[\tVALUE]+ .
|
| | List of columns in the annotation file, e.g. CHROM,POS,REF,ALT,-,INFO/TAG.
See man page for details.
|
| | Read -c columns from FILE, one name per row, with optional --merge_logic TYPE: NAME[ TYPE].
|
| | Exclude sites for which the expression is true.
See https://samtools.github.io/bcftools/bcftools.html#expressions for details.
|
| | continue even when parsing errors, such as undefined tags, are encountered.
Note this can be an unsafe operation and can result in corrupted BCF files.
If this option is used, make sure to sanity check the result thoroughly.
|
| | Header line which should be appended to the VCF header, can be given multiple times.
|
| | File with header lines to append to the VCF header.
For example:
##INFO=<ID=NUMERIC_TAG,Number=1,Type=Integer,Description="Example header line">
##INFO=<ID=STRING_TAG,Number=1,Type=String,Description="Yet another header line">
|
| | Set ID column using a `bcftools query`-like expression, see man page for details.
|
| | Select sites for which the expression is true.
See https://samtools.github.io/bcftools/bcftools.html#expressions for details.
|
| | Leave --include/--exclude sites unchanged instead of discarding them.
|
| | When multiple regions overlap a single record, this option defines how to treat multiple annotation values.
See man page for more details.
|
| | Annotate sites which are present ("+") or absent ("-") in the -a file with a new INFO/TAG flag.
|
| | Minimum overlap required as a fraction of the variant in the annotation -a file (ANN),
in the target VCF file (:VCF), or both for reciprocal overlap (ANN:VCF).
By default overlaps of arbitrary length are sufficient.
The option can be used only with the tab-delimited annotation -a file and with BEG and END columns present.
|
| | Do not append version and command line information to the output VCF header.
|
| | Output type:
u: uncompressed BCF
z: compressed VCF
b: compressed BCF
v: uncompressed VCF
|
| | Controls how to match records from the annotation file to the target VCF.
Effective only when -a is a VCF or BCF file.
The option replaces the former uninuitive --collapse.
See Common Options for more.
|
| | Restrict to comma-separated list of regions.
Following formats are supported: chr|chr:pos|chr:beg-end|chr:beg-[,…].
|
| | Restrict to regions listed in a file.
Regions can be specified either on a VCF, BED, or tab-delimited file (the default).
For more information check manual.
|
| | This option controls how overlapping records are determined:
set to 'pos' or '0' if the VCF record has to have POS inside a region (this corresponds to the default behavior of -t/-T);
set to 'record' or '1' if also overlapping records with POS outside a region should be included (this is the default behavior of -r/-R,
and includes indels with POS at the end of a region, which are technically outside the region);
or set to 'variant' or '2' to include only true overlapping variation (compare the full VCF representation "TA>T-" vs the true sequence variation "A>-").
|
| | Rename annotations: TYPE/old\tnew, where TYPE is one of FILTER,INFO,FORMAT.
|
| | Rename chromosomes according to the map in file, with "old_name new_name\n" pairs
separated by whitespaces, each on a separate line.
|
| | Subset of samples to annotate.
See also https://samtools.github.io/bcftools/bcftools.html#common_options.
|
| | Subset of samples to annotate in file format.
See also https://samtools.github.io/bcftools/bcftools.html#common_options.
|
| | Use this option to keep memory requirements low with very large annotation files.
Note, however, that this comes at a cost, only single overlapping intervals are considered in this mode.
This was the default mode until the commit af6f0c9 (Feb 24 2019).
|
| | List of annotations to remove.
Use "FILTER" to remove all filters or "FILTER/SomeFilter" to remove a specific filter.
Similarly, "INFO" can be used to remove all INFO tags and "FORMAT" to remove all FORMAT tags except GT.
To remove all INFO tags except "FOO" and "BAR", use "^INFO/FOO,INFO/BAR" (and similarly for FORMAT and FILTER).
"INFO" can be abbreviated to "INF" and "FORMAT" to "FMT".
|
| | Verbosity level.
|