Help with don't have ID when running bcftools annotate
1
0
Entering edit mode
10 months ago
Chris ▴ 280

Hi all,

I don't know why I run similar command with the previous one I ran but I don't get the ID this time. The only thing I change is the vcf from another tool. Would you please have a suggestion? Thank you so much!

bcftools annotate -a /00-All.vcf.gz -c ID -o /sarek_ID.vcf.gz /variant_calling/deepvariant/sample_1/deepvariant.vcf.gz
bcftools • 716 views
ADD COMMENT
2
Entering edit mode
10 months ago

I bet your chromosomes do not use the same notation ( 'chr1' vs '1')

ADD COMMENT
0
Entering edit mode

Thanks Pierre! I used nf-core pipeline to get the vcf file this time, so how can I fix this?

ADD REPLY
0
Entering edit mode

I checked the vcf file before and after running the command, it used the notation chr1. The vcf which successfully add ID used the notation 1.

ADD REPLY

Login before adding your answer.

Traffic: 2096 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6