@@ -50,7 +50,7 @@ <h2 id="_description">DESCRIPTION</h2>
5050< div class ="sect2 ">
5151< h3 id ="_version "> VERSION</ h3 >
5252< div class ="paragraph ">
53- < p > This manual page was last updated < strong > 2023-10-23 09:31 CEST </ strong > and refers to bcftools git version < strong > 1.18-19-g6374c6a +</ strong > .</ p >
53+ < p > This manual page was last updated < strong > 2023-11-09 17:03 GMT </ strong > and refers to bcftools git version < strong > 1.18-24-g39a81be +</ strong > .</ p >
5454</ div >
5555</ div >
5656< div class ="sect2 ">
@@ -2200,19 +2200,29 @@ <h3 id="gtcheck">bcftools gtcheck [<em>OPTIONS</em>] [<strong>-g</strong> <em>ge
22002200< dd >
22012201< p > Stop after first record to estimate required time.</ p >
22022202</ dd >
2203- < dt class ="hdlist1 "> < strong > -e, --error-probability</ strong > < em > INT</ em > </ dt >
2203+ < dt class ="hdlist1 "> < strong > -e, --exclude</ strong > [< em > qry</ em > |< em > gt</ em > ]:'EXPRESSION'</ dt >
2204+ < dd >
2205+ < p > Exclude sites from query file (< em > qry:</ em > ) or genotype file (< em > gt:</ em > ) for which < em > EXPRESSION</ em > is true.
2206+ For valid expressions see < strong > < a href ="#expressions "> EXPRESSIONS</ a > </ strong > .</ p >
2207+ </ dd >
2208+ < dt class ="hdlist1 "> < strong > -E, --error-probability</ strong > < em > INT</ em > </ dt >
22042209< dd >
22052210< p > Interpret genotypes and genotype likelihoods probabilistically. The value of < em > INT</ em >
22062211represents genotype quality when GT tag is used (e.g. Q=30 represents one error in 1,000 genotypes and
22072212Q=40 one error in 10,000 genotypes) and is ignored when PL tag is used (in that case an arbitrary
22082213non-zero integer can be provided).
22092214 < br >
22102215 < br >
2211- If < strong > -e </ strong > is set to 0, the discordance score can be interpreted as the number of mismatching genotypes,
2216+ If < strong > -E </ strong > is set to 0, the discordance score can be interpreted as the number of mismatching genotypes,
22122217but only in the GT-vs-GT matching mode. See the < strong > -u, --use</ strong > option below for additional notes and caveats.
22132218 < br >
22142219 < br >
2215- If performance is an issue, set < strong > -e 0</ strong > for faster run times but less accurate results.</ p >
2220+ If performance is an issue, set < strong > -E 0</ strong > for faster run times but less accurate results.
2221+  < br >
2222+  < br >
2223+ Note that in previous versions of bcftools (⇐1.18), this option used to be a smaller case < strong > -e</ strong > . It
2224+ changed to make room for the filtering option < strong > -e, --exclude</ strong > to stay consistent across other
2225+ commands.</ p >
22162226</ dd >
22172227< dt class ="hdlist1 "> < strong > -g, --genotypes</ strong > < em > FILE</ em > </ dt >
22182228< dd >
@@ -2222,6 +2232,11 @@ <h3 id="gtcheck">bcftools gtcheck [<em>OPTIONS</em>] [<strong>-g</strong> <em>ge
22222232< dd >
22232233< p > Homozygous genotypes only, useful with low coverage data (requires < strong > -g, --genotypes</ strong > )</ p >
22242234</ dd >
2235+ < dt class ="hdlist1 "> < strong > -i, --include</ strong > [< em > qry</ em > |< em > gt</ em > ]:'EXPRESSION'</ dt >
2236+ < dd >
2237+ < p > Include sites from query file (< em > qry:</ em > ) or genotype file (< em > gt:</ em > ) for which < em > EXPRESSION</ em > is true.
2238+ For valid expressions see < strong > < a href ="#expressions "> EXPRESSIONS</ a > </ strong > .</ p >
2239+ </ dd >
22252240< dt class ="hdlist1 "> < strong > --n-matches</ strong > < em > INT</ em > </ dt >
22262241< dd >
22272242< p > Print only top INT matches for each sample, 0 for unlimited. Use negative value
@@ -2233,6 +2248,14 @@ <h3 id="gtcheck">bcftools gtcheck [<em>OPTIONS</em>] [<strong>-g</strong> <em>ge
22332248< p > Disable calculation of HWE probability to reduce memory requirements with
22342249comparisons between very large number of sample pairs.</ p >
22352250</ dd >
2251+ < dt class ="hdlist1 "> < strong > -o, --output</ strong > < em > FILE</ em > </ dt >
2252+ < dd >
2253+ < p > Write to < em > FILE</ em > rather than to standard output, where it is written by default.</ p >
2254+ </ dd >
2255+ < dt class ="hdlist1 "> < strong > -O, --output-type</ strong > < em > t</ em > |< em > z</ em > </ dt >
2256+ < dd >
2257+ < p > Write a plain (< em > t</ em > ) or compressed (< em > z</ em > ) text tab-delimited output.</ p >
2258+ </ dd >
22362259< dt class ="hdlist1 "> < strong > -p, --pairs</ strong > < em > LIST</ em > </ dt >
22372260< dd >
22382261< p > A comma-separated list of sample pairs to compare. When the < strong > -g</ strong > option is given, the first
@@ -2339,6 +2362,13 @@ <h4 id="_options">Options:</h4>
23392362< p > Also display the first < em > INT</ em > variant records.
23402363By default, no variant records are displayed.</ p >
23412364</ dd >
2365+ < dt class ="hdlist1 "> < strong > -s, --samples</ strong > < em > INT</ em > </ dt >
2366+ < dd >
2367+ < p > Display the first < em > INT</ em > variant records including the last #CHROM header line with samples.
2368+ Running with < strong > -s 0</ strong > alone outputs the #CHROM header line only. Note that
2369+ the list of samples, with each sample per line, can be obtained with < code > bcftools query</ code > using
2370+ the option < strong > -l, --list-samples</ strong > .</ p >
2371+ </ dd >
23422372</ dl >
23432373</ div >
23442374</ div >
@@ -2629,9 +2659,11 @@ <h3 id="merge">bcftools merge [<em>OPTIONS</em>] <em>A.vcf.gz</em> <em>B.vcf.gz<
26292659maximum number of alternate alleles that can be included in the PL tag. The default value
26302660is 0 which disables the feature and outputs values for all alternate alleles.</ p >
26312661</ dd >
2632- < dt class ="hdlist1 "> < strong > -m, --merge</ strong > < em > snps</ em > |< em > indels</ em > |< em > both</ em > |< em > snp-ins-del</ em > |< em > all</ em > |< em > none</ em > |< em > id</ em > </ dt >
2662+ < dt class ="hdlist1 "> < strong > -m, --merge</ strong > < em > snps</ em > |< em > indels</ em > |< em > both</ em > |< em > snp-ins-del</ em > |< em > all</ em > |< em > none</ em > |< em > id</ em > [, < em > * </ em > ] </ dt >
26332663< dd >
2634- < p > The option controls what types of multiallelic records can be created:</ p >
2664+ < p > The option controls what types of multiallelic records can be created. If single asterisk
2665+ < em > < strong > </ em > is appended, the unobserved allele < em > <</ strong > ></ em > or < em > <NON_REF></ em > will be removed at variant sites;
2666+ if two asterisks < em > **</ em > are appended, the unobserved allele will be removed all sites.</ p >
26352667</ dd >
26362668</ dl >
26372669</ div >
@@ -2641,6 +2673,8 @@ <h3 id="merge">bcftools merge [<em>OPTIONS</em>] <em>A.vcf.gz</em> <em>B.vcf.gz<
26412673-m snps .. allow multiallelic SNP records
26422674-m indels .. allow multiallelic indel records
26432675-m both .. both SNP and indel records can be multiallelic
2676+ -m both,* .. same as above but remove <*> (or <NON_REF>) from variant sites
2677+ -m both,** .. same as above but remove <*> (or <NON_REF>) at all sites
26442678-m all .. SNP records can be merged with indel records
26452679-m snp-ins-del .. allow multiallelic SNVs, insertions, deletions, but don't mix them
26462680-m id .. merge by ID</ pre >
@@ -4506,6 +4540,11 @@ <h4 id="_output_options_2">Output options</h4>
45064540< h4 id ="_subset_options "> Subset options:</ h4 >
45074541< div class ="dlist ">
45084542< dl >
4543+ < dt class ="hdlist1 "> < strong > -A, --trim-unseen-alleles</ strong > </ dt >
4544+ < dd >
4545+ < p > remove the unseen allele < em > <*></ em > or < em > <NON_REF></ em > at variant sites when the option is given once (-A) or
4546+ at all sites when the options is given twice (< em > -AA</ em > ).</ p >
4547+ </ dd >
45094548< dt class ="hdlist1 "> < strong > -a, --trim-alt-alleles</ strong > </ dt >
45104549< dd >
45114550< p > remove alleles not seen in the genotype fields from the ALT column. Note that if no alternate allele
@@ -5327,7 +5366,7 @@ <h2 id="_copying">COPYING</h2>
53275366</ div >
53285367< div id ="footer ">
53295368< div id ="footer-text ">
5330- Last updated 2023-10-23 09:31:31 +0200
5369+ Last updated 2023-11-09 16:40:20 UTC
53315370</ div >
53325371</ div >
53335372</ body >
0 commit comments