![]() |
![]()
| ![]() |
![]()
NAMEbl_gff3_extract_attribute() - Extract GFF3 attribute by name LIBRARY#include <biolibc/gff3.h> -lbiolibc -lxtend SYNOPSISchar *bl_gff3_extract_attribute(bl_gff3_t *feature, const char *attr_name) ARGUMENTSAttribute name, such as "ID" or "Name" DESCRIPTIONExtract an attribute value of a feature given the attribute name. Common attribute names include "ID" and "Name". Attributes are embedded in the GFF attributes field in the form name=value;, e.g. ID=gene:ENSDARG00000029944;Name=parpbp. RETURN VALUESAttribute value (text after '='), or NULL if name is not found EXAMPLESbl_gff3_t feature; if ( bl_gff3_extract_attribute(&feature, "Name") != NULL ) { } SEE ALSObl_gff3_read(3)
|