Skip to content

Commit 107e465

Browse files
committed
add MEI in VCF header(#12)
1 parent c0155d3 commit 107e465

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/vcf_utils.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ void write_vcf_header(bam_hdr_t *hdr, struct call_var_opt_t *opt) {
6565
bcf_hdr_append(vcf_hdr, "##INFO=<ID=TSDLEN,Number=1,Type=Integer,Description=\"Length of target site duplication\">");
6666
bcf_hdr_append(vcf_hdr, "##INFO=<ID=POLYALEN,Number=1,Type=Integer,Description=\"Length of polyA/T sequence\">");
6767
// there will be 2 TSDs for DEL
68+
bcf_hdr_append(vcf_hdr, "##INFO=<ID=MEI,Number=0,Type=Flag,Description=\"Mobile element insertion\">");
6869
bcf_hdr_append(vcf_hdr, "##INFO=<ID=TSDPOS1,Number=1,Type=Integer,Description=\"Start position of first target site duplication on CHROM\">");
6970
bcf_hdr_append(vcf_hdr, "##INFO=<ID=TSDPOS2,Number=1,Type=Integer,Description=\"Start position of second target site duplication on CHROM\">");
7071
bcf_hdr_append(vcf_hdr, "##INFO=<ID=REPNAME,Number=1,Type=String,Description=\"Repeat name\">");
@@ -226,4 +227,4 @@ int write_var_to_vcf(var_t *vars, const struct call_var_opt_t *opt, char *chrom)
226227
}
227228
free(buffer);
228229
return n_output_vars;
229-
}
230+
}

0 commit comments

Comments
 (0)