bcf_hdr_merge() - copy header lines from src to dst, see also bcf_translate()
@param dst: the destination header to be merged into, NULL on the first pass
@param src: the source header
Notes:
- use as:
bcf_hdr_t *dst = NULL;
for (i=0; i<nsrc; i++) dst = bcf_hdr_merge(dst,srci);
- bcf_hdr_merge() replaces bcf_hdr_combine() which had a problem when
combining multiple BCF headers. The current bcf_hdr_combine()
does not have this problem, but became slow when used for many files.
bcf_hdr_merge() - copy header lines from src to dst, see also bcf_translate() @param dst: the destination header to be merged into, NULL on the first pass @param src: the source header
Notes: - use as: bcf_hdr_t *dst = NULL; for (i=0; i<nsrc; i++) dst = bcf_hdr_merge(dst,srci);
- bcf_hdr_merge() replaces bcf_hdr_combine() which had a problem when combining multiple BCF headers. The current bcf_hdr_combine() does not have this problem, but became slow when used for many files.