Hi Len and all,
Â
Ref: https://www.biostars.org/p/182127/
Â
Can you please give a bit more help on how to adapt a dbSNP.vcf file to be used in vcfeval as -b input
Do we have to engineer a 9th FORMAT column with GT and a 10th column ‘ALT’ as sample name and 1 as content for the whole file?
Â
Like this awk does:
Â
```
awk 'BEGIN{FS="\t"; OFS="\t"}{if ($0~/^##/) print $0; else if($0~/#CHROM/) print $0,"FORMAT","ALT"; else print $0,"GT",1}' gallus_gallus.vcf | bgzip -c > gallus_gallus_alt.vcf.gz.vcf
```
Â
Thanks in advance,
Â
Stephane
Â
Â
PS my chicken database looks like this:
Â
#CHROMÂ POS Â Â IDÂ Â Â REF Â Â ALT Â Â QUALÂ Â FILTERÂ INFO
1 Â Â Â 249857Â rs735818313 Â Â C Â Â Â A Â Â Â . Â Â Â . Â Â Â E_Multiple_observations;TSA=SNV;dbSNP_150
1 Â Â Â 289870Â rs1060254042Â Â T Â Â Â C Â Â Â . Â Â Â . Â Â Â TSA=SNV;dbSNP_150
1 Â Â Â 318447Â rs1060384925Â Â C Â Â Â A Â Â Â . Â Â Â . Â Â Â TSA=SNV;dbSNP_150
1 Â Â Â 394741Â rs16728075Â Â Â G Â Â Â A Â Â Â . Â Â Â . Â Â Â E_Freq;TSA=SNV;dbSNP_150
1 Â Â Â 394744Â rs16728074Â Â Â G Â Â Â A Â Â Â . Â Â Â . Â Â Â E_Freq;TSA=SNV;dbSNP_150
1 Â Â Â 394746Â rs16728073Â Â Â C Â Â Â T Â Â Â . Â Â Â . Â Â Â E_Freq;TSA=SNV;dbSNP_150
1 Â Â Â 394765Â rs741618862 Â Â T Â Â Â A Â Â Â . Â Â Â . Â Â Â TSA=SNV;dbSNP_150
1 Â Â Â 394776Â rs731376058 Â Â T Â Â Â C Â Â Â . Â Â Â . Â Â Â TSA=SNV;dbSNP_150
…
Â
--
Stephane Plaisance – NGS analysis specialist
VIB Nucleomics Core
Herestraat 49 – Post Box 816 – 3000 Leuven – Belgium
O&N4 Building – 8th Floor – Room 08.429
Tel. +32
16 32 00 60
www.nucleomicscore.sites.vib.be
Â
--
You received this message because you are subscribed to the Google Groups "RTG Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtg-users+...@realtimegenomics.com.
To view this discussion on the web visit https://groups.google.com/a/realtimegenomics.com/d/msgid/rtg-users/A9F2449A-A41A-4223-99B7-22FBE6185DDC%40vib.be.