-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Description
I am trying to run a command which looks like the examples from the 1.21 release notes:
bcftools annotate -a ann.tsv.gz -c CHROM,POS,REF,ALT,SCORE,~STR -i'TAG={STR}' -k in.vcf
bcftools annotate -a ann.tsv.gz -c CHROM,POS,-,-,SCORE,~STR -i'TAG={STR}' -k in.vcf
But I am getting:
Error: dynamic variables in -i/-e expressions can be currently used only with tab-delimited file, not with VCF (todo)
My full command is:
bcftools annotate \
-c CHROM,FROM,TO,~SVT,-,CUSTOM_AF,-,-,-
--header-line '##INFO=<ID=CUSTOM_AF,Number=1,Type=Float,Description="Custom AF">' \
-i'SVTYPE={SVT}' \
--min-overlap 0.5:0.5 \
-a custom.bed.gz \
in.vcf
The first row of my bed looks like:
1 11028 11063 DEL 35 0.017519300803542137 50 0 1
Metadata
Metadata
Assignees
Labels
No labels