Skip to content

Commit 3231c34

Browse files
committed
Update usage test of +split-vep
1 parent 075635a commit 3231c34

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

plugins/split-vep.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static const char *usage_text(void)
139139
" -p, --annot-prefix prefix of INFO annotations to be created after splitting the CSQ string\n"
140140
" -s, --select TR:CSQ TR, transcript: worst,primary,all [all]\n"
141141
" CSQ, consequence: any,missense,missense+,etc [any]\n"
142-
" -S, --severity ?|FILE ?: print the default severity scale\n"
142+
" -S, --severity -|FILE -: print the default severity scale\n"
143143
" FILE: override the default scale\n"
144144
"Common options:\n"
145145
" -e, --exclude EXPR exclude sites and samples for which the expression is true\n"
@@ -155,14 +155,17 @@ static const char *usage_text(void)
155155
" # List available fields of the INFO/CSQ annotation\n"
156156
" bcftools +split-vep -l file.vcf.gz\n"
157157
"\n"
158+
" # List the default severity scale\n"
159+
" bcftools +split-vep -S -\n"
160+
"\n"
158161
" # Extract Consequence, IMPACT and gene SYMBOL of the most severe consequence into\n"
159162
" # INFO annotations starting with the prefix \"vep\". For brevity, the columns can\n"
160163
" # be given also as 0-based indexes\n"
161164
" bcftools +split-vep -c Consequence,IMPACT,SYMBOL -s worst -p vep file.vcf.gz\n"
162165
" bcftools +split-vep -c 1-3 -s worst -p vep file.vcf.gz\n"
163166
"\n"
164167
" # Same as above but use the text output of the \"bcftools query\" format\n"
165-
" bcftools +split-vep -c Consequence,IMPACT,SYMBOL -s worst -f '%CHROM %POS %Consequence %IMPACT %SYMBOL\\n' file.vcf.gz\n"
168+
" bcftools +split-vep -s worst -f '%CHROM %POS %Consequence %IMPACT %SYMBOL\\n' file.vcf.gz\n"
166169
"\n";
167170
}
168171

0 commit comments

Comments
 (0)