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

Running with --split false only writes first contig header #7

Open
dennishendriksen opened this issue Oct 27, 2020 · 0 comments
Open

Comments

@dennishendriksen
Copy link

Running

java -jar vcf-tools-0.1.jar vcf-generator --in <input> --ref human_g1k_v37_phiX.fasta --out <output> --split false

writes a VCF with header

##fileformat=VCFv4.2
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
##contig=<ID=1,length=249250621>

with variants in multiple chromosomes. The contig headers for other chromosomes are missing.

Using the VCF with bcftools results in:

[W::vcf_parse] Contig '2' is not defined in the header. (Quick workaround: index the file with tabix.)
Encountered an error, cannot proceed. Please check the error output above.
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