Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCF not valid #20

Open
bioinfo-chru-strasbourg opened this issue Sep 23, 2021 · 1 comment
Open

VCF not valid #20

bioinfo-chru-strasbourg opened this issue Sep 23, 2021 · 1 comment

Comments

@bioinfo-chru-strasbourg

VCF format specification (https://samtools.github.io/hts-specs/VCFv4.2.pdf) highly recommends (but not required) that the header include tags describing the contigs referred to in the VCF file. With samtools, output VCF of Scramble can not be view correctly due to contigs definition :

##contig=<ID=chr1>

Samtools command:

$ samtools view scramble.vcf
[main_samview] fail to read the header from "scramble.vcf"

Suggestion:
Add length and assembly as tags:

##contig=<ID=chr1,length=249250621,assembly=hg19>
@bioinfo-chru-strasbourg
Copy link
Author

Another suggestion would be to add "FORMAT/GT" and a sample column, with heterozygous 0/1 by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant