Open oleraj opened 5 years ago
Hi Andrew, the easier first: SURVIVOR filter looks for the AF tag. Thus, it wont work if that is not there.
SURVIVOR merge currently does not extend the VCF by an AF tag. Its a nice idea to include it and code is there. I just dont take the genotype into account so it will be the frequency of samples. Would that be ok?
Thanks Fritz
Hi Fritz,
I'm not sure why you're not able to take genotype into account -- is it because the genotype calls from different SV callers are not consistent or trustworthy?
An alternative I'm thinking I could use the SUPP
tag for filtering using bcftools
. However, the data type is not specified correctly in the header -- it should be Integer
but says String
so bcftools can't use this for filtering:
##INFO=<ID=SUPP,Number=1,Type=String,Description="Number of samples supporting the variant">
Could you update the data type for SUPP
and other tags in the header (e.g., CIEND, CIPOS) to Integer?
Thanks,
Andrew
I could, but some are not reporting it and some are not very robust. Maybe I just should .. sorry for loud thinking..
No problem, that makes sense. For now I think the highest priority would be to update the type for these tags to Integer
as I mentioned.
Hi,
I have Manta VCFs >100 individuals that I've merged using SURVIVOR merge with this command:
Then I tried to filter based on AF using this command:
OR
However, it seems there is no difference in the output. I think the filter is not working. Both have the same number of variants:
I also noticed that
SURVIVOR merge
doesn't add an AF field to the VCF. Is it supposed to add this?Header:
Any other suggestions for filtering by AF?
Thanks!
Andrew