Skip to content

Some sample programs use htsFile struct members directly #1961

@jmarshall

Description

@jmarshall

samples/mpileup.c, samples/pileup.c, and samples/pileup_mod.c use fp->bam_header directly.

They should remember the header returned from sam_hdr_read() and use it where appropriate rather than directly accessing an undocumented field in the htsFile structure, which is morally opaque.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions