|
LIBRARY#include <biolibc/gff.h> -lbiolibc -lxtend SYNOPSISint bl_gff_write(bl_gff_t *gff_feature, FILE *gff_stream, gff_field_mask_t field_mask) ARGUMENTSgff_feature Pointer to the bl_gff_t structure to output gff_stream FILE stream to which TSV gff line is written field_mask Bit mask indicating which fields to output DESCRIPTIONWrite fields from a GFF feature to the specified FILE stream.If field_mask is not BL_GFF_FIELD_ALL, fields not indicated by a 1 in the bit mask are written as an appropriate marker for that field, such as a '.', rather than writing the real data. Possible mask values are: BL_GFF_FIELD_ALL BL_GFF_FIELD_SEQUENCE BL_GFF_FIELD_SOURCE BL_GFF_FIELD_FEATURE BL_GFF_FIELD_START BL_GFF_FIELD_END BL_GFF_FIELD_SCORE BL_GFF_FIELD_STRAND BL_GFF_FIELD_PHASE BL_GFF_FIELD_ATTRIBUTES RETURN VALUESBL_WRITE_OK on success BL_WRITE_ERROR on failure (errno may provide more information)EXAMPLESbl_gff_write(&gff_feature, stdout, BL_GFF_FIELD_ALL); bl_gff_write(&gff_feature, gff_stream, BL_GFF_FIELD_SEQUENCE|BL_GFF_FIELD_START|BL_GFF_FIELD_END); SEE ALSObl_gff_read(3) Visit the GSP FreeBSD Man Page Interface. |