Manually creating a valid VCF File
1
0
Entering edit mode
3 months ago
Sara • 0

Hi there,

I'm trying to manually make a valid vcf file for some indels. I've managed to do so for single nucleotide variations, but indels have failed so far. I check the validity with vcf-validator (https://github.com/EBIvariation/vcf-validator). My output error file is the following for the vcf file I've included as an image here:

According to the VCF specification, the input file is not valid

Error: The header line does not start with the mandatory columns: CHROM, POS, ID, REF, ALT, QUAL, FILTER and INFO. This occurs 1 time(s), first time in line 6.
Warning: A valid 'reference' entry is not listed in the meta section. This occurs 1 time(s), first time in line 6.
Error: Chromosome is not a string without whitespaces, optionally wrapped with angle brackets (<>). This occurs 1 time(s), first time in line 7.

VCF file:

image of VCF file

Any guidance would be greatly appreciated!

vcf-validator vcf • 353 views
ADD COMMENT
1
Entering edit mode

Sara : Please do not post screenshots of text content. It is difficult for users to help (by copy pasting things from text). Use 101010 button to format the text as code to keep it monospaced and in right visual format.

ADD REPLY
1
Entering edit mode
3 months ago

Can we have an example of what is working, to compare too ?

If you do it manually, don't use whitespace between entities, use tabulation.

As you did not include any fasta reference, maybe vcf-validator does not allow chromosome written chr10 but only 10

ADD COMMENT
0
Entering edit mode

Thanks so much Bastien! I added the fasta file and made sure I used tabs. It works now!

ADD REPLY

Login before adding your answer.

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