Open valeandri opened 11 months ago
What is the version of bcftools you are using? I just tested with the latest and it seems to be working as expected.
Hi @pd3
I tested both 1.15.1 and 1.10.2 bedtools versions, since I had these already installed. I'll test as soon as I can the latest version and let you know!
Hi,
I am trying to add the FORMAT/DP tag to a vcf taking the depth information from a bed file. I only want to add the tag if not already present in the vcf.
The code I am using is the following:
The coverage.bed.gz looks like the following:
I tested both 1.15.1 and 1.10.2 versions.
Even if using the "+TAG" option, the FORMAT:DP is overwritten even if it already exists. Here an example:
Original file:
Output file:
As you can see, the value 10 is replaced with 0.
Is this an expected behaviour? How can i avoid that and obtain the wanted result?
Thanks, Valentina