1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
# slow5lib internal functions
Following are internal functions used in slow5tools and pyslow5 implementations. Documented for slow5lib developers.
These are for internal use only. Subject to major changes any time without notice.
DO NOT USE.
* [slow5_open_with](low_level_api/slow5_open_with.md)<br/>
Open a SLOW5 file. User can specify the SLOW5 format.
* [slow5_get_next_mem](low_level_api/slow5_get_next_mem.md)<br/>
* [slow5_rec_depress_parse](low_level_api/slow5_rec_depress_parse.md)<br/>
* [slow5_get_aux_types](low_level_api/slow5_get_aux_types.md)<br/>
gets the pointer to the list of auxiliary field types
* [slow5_get_aux_enum_labels](low_level_api/slow5_get_aux_enum_labels.md)<br/>
* [slow5_aux_get_enum](low_level_api/slow5_aux_get_enum.md)<br/>
* [slow5_aux_get_enum_array](low_level_api/slow5_aux_get_enum_array.md)<br/>
* [slow5_rec_to_mem]
Encodes a SLOW5 record to linear memory.
* [slow5_rec_fwrite]
Print a SLOW5 record in the specified format to a file pointer.
* [slow5_rec_print]
Print a SLOW5 record in the specified format to standard output.
* [slow5_hdr_add_attr]
Adds a new header data attribute.
* [slow5_hdr_add_rg]
Adds a new header read group.
* [slow5_hdr_to_mem]
Encodes a header in to linear memory.
* slow5_hdr_fwrite
* slow5_hdr_print
* slow5_eof_fwrite
* slow5_eof_print
* slow5_press_init
* slow5_press_free
* slow5_aux_meta_add_enum
* slow5_aux_meta_add
* slow5_rec_set
* slow5_rec_set_string
* slow5_aux_meta_init_empty
* slow5_hdr_set
* slow5_hdr_add_rg_data
<!--
int slow5_hdr_fwrite(FILE *fp, struct slow5_hdr *header, enum slow5_fmt format, slow5_press_method_t comp)
int slow5_rec_fwrite(FILE *fp, struct slow5_rec *read, struct slow5_aux_meta *aux_meta, enum slow5_fmt format, struct slow5_press *compress)
int slow5_aux_meta_add_enum(struct slow5_aux_meta *aux_meta, const char *attr, enum slow5_aux_type type, const char **enum_labels, uint8_t enum_num_labels)
int slow5_aux_meta_add(struct slow5_aux_meta *aux_meta, const char *attr, enum slow5_aux_type type)
int slow5_rec_set(struct slow5_rec *read, struct slow5_aux_meta *aux_meta, const char *attr, const void *data)
static inline int slow5_rec_set_string(struct slow5_rec *read, struct slow5_aux_meta *aux_meta, const char *attr, const char *data)
struct slow5_aux_meta *slow5_aux_meta_init_empty(void)
int slow5_hdr_add_attr(const char *attr, struct slow5_hdr *header)
int slow5_hdr_set(const char *attr, const char *value, uint32_t read_group, struct slow5_hdr *header)
struct slow5_aux_meta *slow5_aux_meta_init_empty(void)
int64_t slow5_hdr_add_rg_data(struct slow5_hdr *header, khash_t(slow5_s2s) *new_data)
struct slow5_press *slow5_press_init(slow5_press_method_t method)
void *slow5_rec_to_mem(struct slow5_rec *read, struct slow5_aux_meta *aux_meta, enum slow5_fmt format, struct slow5_press *compress, size_t *n)
void slow5_press_free(struct slow5_press *comp)
-->
|