Suggestion: populate INFO name in warning "INFO tag id=146"

Open
#1,996 4 comments 0 reactions 1 assignee View on GitHub

@daviesrob is already working on this.

Since Apr 30, 2026.

Assessment

This issue has not been assessed yet.

Description

At the moment, some errors look like:

... Invalid BCF, the INFO tag id=146 is too large at ....

Would it be possible to look up the tagID and replace it with a more human readable string of the name? That would help people debug issues more easily.

An example where a better warning may have helped someone else samtools/bcftools#1532

Thanks!

Dominant language
C
Stars
950
Forks
475
Avg merge
3d 13h
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from samtools/htslib

All issues in samtools/htslib

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.