Hi!
I have to perform eQTL analysis and now I have to manipuate the vcf file. I would like to know if there are some way to convert these information: 1/1=2
; ./.=0
; 0/1=1
)
Example:
#CHROM POS REF ALT DGRP-038 DGRP-040 DGRP-045
2L 2262 T TTC 1/1:7:0 ./.:0:0 ./.:0:0
Then in this case the following:
#CHROM POS REF ALT sample-1 sample-2 sample-3
2L 2262 T TTC 2 0 0
Are there any software to do that?
The second question is: does the meaning of these values (0 1 2) are the following?
- reference/reference (no mutation) = 1 no present in my example
- reference/alternative (1 mutation copy) = 2 and in my case (1/1:7:0 )
- alternative/alternative (both copy mutated) = 0 and in my case (./.)
Thanks in advance!!
Tommi
The correct interpretation for a diploid genome is
only variants can be bi-allelic. you probably meant diploid.
You're right, my bad on the terminology.
Thanks Vivek I am working with Drosophila and I think is Biallelic.. if you know some tools to convert the information please let me know.
Tommi
I don't understand what the genotype mean :
DGRP-038 has homozygous alternate, what does that mean?
It means both chromosomes carry the insertion T>TTC
HOw a mutation can be detect in the 2 chromosomes and not in 1 only ?