Closed bredelings closed 4 years ago
The INFO/AC
annotation refers to the number of called alleles (i.e. summing over GT
entries, for each allele). For single sample haploid calls you'll only ever see AC=1
for variant sites (for diploid it would be max AC=2
with GT=1|1
). This annotation is mostly used for population analysis where the population allele frequency AF=AC/AN
is useful. What you're looking for is AD
(Allele Depth). Octopus doesn't output this by default, but you can request it using the --annotations
option, so long as it's an active filtering measure (see this discussion).
Thank you very much. I ran an analysis with --annotations AD
and put AD<1
into the filter. However,
AD
still only has one number.Example:
NODE_2_length_375716_cov_40.650521 207843 . A AT,ATT 21.41 PASS AC=1,1;AN=2;DP=69;MQ=59;NS=1 GT:GQ:DP:MQ:PS:PQ:AD:FT 1|2:20:69:59:207843:100:23:PASS
I'm guessing that your AD number is summing over the ALT alleles. Would it be possible to output a number for each allele?
As of 2644fe1ee91d1019231dcb9f01ed8ad1f3bd5b39, Octopus now reports relevant annotations, including AD
, on a per-allele basis as expected.
Describe the bug I see some output in the GVCF that seems weird to me, but I don't know enough about VCF to know if this is actually unexpected.
Using the individual caller with
--refcall POSITIONAL -P 1
I'm seeing lines like this:The line I don't understand is the middle one with the variant. It looks to me like this is a variant supported by 1 read (AC=1) out of 68 (DP=68), and yet the ALT genotype is called (GT=1). I would expect the REF genotype to be called (GT=0). But probably I'm just misunderstanding how the format works.
It looks to me like the VCF outputs are calling a variant every time a single read differs from all the other reads. However, I confess that I have not actually loaded this up in IGV yet.
Previously I had left off the
-P 1
and i was getting genotypes like1|0
for all the variant sites, also withAC=1
or (I think) AC=2. However, in the current file, I don't see any cases ofAC=2
, which seems odd.Version
Command line to run octopus: