106 const char *pathfmt, va_list ap);
114 const char *pathfmt, ...);
uproc_idmap * uproc_idmap_load(enum uproc_io_type iotype, const char *pathfmt,...)
Load idmap from file.
uproc_idmap * uproc_idmap_loadv(enum uproc_io_type iotype, const char *pathfmt, va_list ap)
Load idmap from file.
uproc_family uproc_idmap_family(uproc_idmap *map, const char *name)
Get family number.
uproc_idmap * uproc_idmap_loads(uproc_io_stream *stream)
Load idmap from stream.
int uproc_idmap_store(const uproc_idmap *map, enum uproc_io_type iotype, const char *pathfmt,...)
Store idmap to file.
void uproc_idmap_destroy(uproc_idmap *map)
Destroy idmap object.
uproc_idmap * uproc_idmap_create(void)
Create idmap object.
int uproc_idmap_stores(const uproc_idmap *map, uproc_io_stream *stream)
Store idmap to stream.
int uproc_idmap_storev(const uproc_idmap *map, enum uproc_io_type iotype, const char *pathfmt, va_list ap)
Store idmap to file.
Map between protein family name and its numeric identifier.
Optionally compressed I/O stream.
char * uproc_idmap_str(const uproc_idmap *map, uproc_family family)
Get family string.
Module: Common definitions.
uint_least16_t uproc_family
Identifier of a protein family.
Definition: common.h:93
uproc_io_type
Underlying stream type.
Definition: io.h:59