Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
user-tq opened this issue Sep 6, 2024 · 0 comments
Open

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

user-tq opened this issue Sep 6, 2024 · 0 comments

Comments

@user-tq
Copy link

user-tq commented Sep 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant