Skip to content

Commit

Permalink
Merge pull request #426 from currocam/master
Browse files Browse the repository at this point in the history
Add contig header to VCF
  • Loading branch information
bhaller authored Feb 5, 2024
2 parents dd9067b + 4a823ad commit 3eb134e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/genome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1589,6 +1589,7 @@ void Genome::PrintGenomes_VCF(std::ostream &p_out, std::vector<Genome *> &p_geno
if (p_output_nonnucs && p_nucleotide_based)
p_out << "##INFO=<ID=NONNUC,Number=0,Type=Flag,Description=\"Non-nucleotide-based\">" << std::endl;
p_out << "##FORMAT=<ID=GT,Number=1,Type=String,Description=\"Genotype\">" << std::endl;
p_out << "##contig=<ID=1,URL=https://github.com/MesserLab/SLiM>" << std::endl;
p_out << "#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT";

for (slim_popsize_t s = 0; s < sample_size; s++)
Expand Down

0 comments on commit 3eb134e

Please sign in to comment.