Skip to content

bedcov: CLI option to output a header row#2025

Merged
vasudeva8 merged 2 commits into
samtools:developfrom
kdm9:bedcov-header
Apr 12, 2024
Merged

bedcov: CLI option to output a header row#2025
vasudeva8 merged 2 commits into
samtools:developfrom
kdm9:bedcov-header

Conversation

@kdm9

@kdm9 kdm9 commented Apr 10, 2024

Copy link
Copy Markdown
Contributor

Hello,

After spending an hour trying to debug a strange result, I realized that I'd accidentally used the output of samtools bedcov -d 1 ... where samtools bedcov -c was expected. I've added functionality to output a (commented) header line to the bed-like output, so that it's immediately obvious what the meaning of each column is. This is disabled by default, enabled with -H.

I also added a hopefully more explicit description of the column order to the man page.

Thanks,
Kevin

kdm9 added 2 commits April 10, 2024 17:50
This functionality adds a commented header line to the bed-like output
of bedcov describing each column. Useful as there is otherwise no record
of the meaning of columns, as you can't tell from the file if -c or -g
was given as both add an additonal set of columns.
@vasudeva8 vasudeva8 merged commit 38f6c28 into samtools:develop Apr 12, 2024
@vasudeva8

Copy link
Copy Markdown
Contributor

Thanks, the PR is now merged.

@kdm9 kdm9 deleted the bedcov-header branch April 12, 2024 11:56
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

Successfully merging this pull request may close these issues.

2 participants