find reads information in .vcf file
1
0
Entering edit mode
6.3 years ago
lebedana21 • 0

Hi all,

I was wondering if is possible to have reads identification(Id/name) in .vcf file? It might be useful, for instance, when you pick two following variants and want to check how the specific read match the variants?
I didn't find any related information in .vcf specification, but still hope there is some option, or even some tool to do so?

Thanks for any information

vcf • 2.5k views
ADD COMMENT
1
Entering edit mode
6.3 years ago

instead of generating a huggge vcf containing the name of the reads a better idea is to look back in the bam to find the variants: e.g : How to extract reads with a known variant form a bam file Extract reads with variant at given position Finding The Number Of Reads Which Support A Variant In Vcf ...

ADD COMMENT
0
Entering edit mode

Thank you Pierre for response,

I had checked all of the tools. However, no seems suitable for my goal. In particular, I need to call all variants (not just a couple, mb my example was confusing, sorry for that), and preserve information about reads for each allele for each variant.
For instance, if alleles (SNP) at the third position (pos3) are A and T, e.i. --A-- and --T--, and the read R1 is GGAGG, then I got as an output pos3: R1=A (easy for a SNP, more complicated in other cases). The output format is so, since I will need to iterate through variants, not through reads.

ADD REPLY

Login before adding your answer.

Traffic: 1640 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