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

Feature request: Turn off header numbers when using -H #2152

Closed
ejgardner-insmed opened this issue Apr 8, 2024 · 1 comment
Closed

Feature request: Turn off header numbers when using -H #2152

ejgardner-insmed opened this issue Apr 8, 2024 · 1 comment

Comments

@ejgardner-insmed
Copy link

Hello,

The -H feature in various bcftools subcommands (e.g., query, +split-vep) is useful, but it also prints the column index (e.g., '#[1]CHROM') which can make it difficult for downstream processing with other tools. I recognise that most bcftools / htslib commands know how to handle the adjusted header, but it would be nice if there was a flag to disable it.

Thank you!

@pd3 pd3 closed this as completed in 5e1bff3 Apr 30, 2024
@pd3
Copy link
Member

pd3 commented Apr 30, 2024

This is now possible by giving the option twice, -HH will result in #CHROM instead of #[1]CHROM.

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

2 participants