Entering edit mode
6.6 years ago
Kritika
▴
270
I have snps information for all the samples compared to references. I want all the allele whether snps or match with reference in vcf format How can i achieve this
Sample 1
chr1 26 . G A 3046.92 GT:DP:AD:RO:QR:AO:QA:GL 0/1:199:92,107:92:3723:107:4258:-321.956,0,-275.153
Sample 2
chr1 26 . G A 3046.92 GT:DP:AD:RO:QR:AO:QA:GL 0/1:199:92,107:92:3723:107:4258:-321.956,0,-275.153
Expected
Sample 1
chr1 1 . A A 3046.92 GT:DP:AD:RO:QR:AO:QA:GL 0/0:199:92,107:92:3723:107:4258:-321.956,0,-275.153
Sample 2
chr1 1 . A A 3046.92 GT:DP:AD:RO:QR:AO:QA:GL 0/0:199:92,107:92:3723:107:4258:-321.956,0,-275.153
how did you get call vcf from the bam ? bcftools ? gatk ?
Its freebayes i have edited that Actual vcf formats is below
Hello Kritika,
could you please describe more precisely what you are trying to do and why. What I see in your example is:
That doesn't make sense to me ...
fin swimmer
No Usually in VCF file The position will reflect having snps when compared with reference. I want vcf file format where all the positions are called irrelevant of snps / indel or or same allele
Ok, than I guess gVCF is what you are looking for.
What is gvcf. If it will show all positions whatever the nucleotide is called including whether it's homozygous or heterozygous then gvcf will be use full for me
Let me google that for you!
First Hit
And what is the aim of your analysis, essentially, why do you need all alleles called?
Is there any way that i keep my sample 1 as reference and call the snps from other samples. Sample 1 i have is bam file.
My customer wants to know the difference in snps between samples. So if one position the allele is present in one sample which also matching to reference then that allele will not be called out for that sample. But when compared to other samples the allele was reported as snps because it not matching to Reference
Gvcf joint calling sounds like the best solution
Do you know any tool which can help?
DId you try googling that term?
yes i did google and i uderstood but fro freebayes gvcf option is not working.
Can you please proofread your posts and edit typos? It gets difficult to understand. I think important information such as the tool you're using should be included in your top level post - it is not practical to expect people to read through all your comments to find critical information hidden in them. If you're adding such information in a comment, it would be better to edit your question and add it there as well.
Have you tried looking at GATK? Google doesn't give you just freebayes when you search for "gvcf joint calling", does it? In fact I'm quite certain GATK ranks above freebayes for that particular term. When I search for it (using an incognito tab to avoid biasing the results), the first page is >75% GATK results. Please invest a little more effort.