bcftools icon indicating copy to clipboard operation
bcftools copied to clipboard

annotate add INFO/tag form CHROM-POS-REF-ALT

Open user-tq opened this issue 1 year ago • 0 comments

i know the Transfer FILTER values into an INFO tag

bcftools annotate -c INFO/NewTag:=FILTER B.bcf

but i want

bcftools annotate -c INFO/raw_pos:=%CHROM-%POS-%REF-%ALT  clinvar_20240902.vcf.gz 
# it not work

Is there a simple way to do this? I don't want to use tabix to obtain annotate.gz, because the original VCF is too large, and I always don't want to generate too many intermediate files

user-tq avatar Sep 06 '24 04:09 user-tq