#include <tagUtils.h> int values2tag( char *tag, char *type, int start, int end, int strand, char *comment);
This function converts a tag represented by a series of separate
integer/string values to a single string of the format used by the experiment
TG line type. It performs the opposite task to the
For the format of the tag string please see section tag2values.
The type, start, end, strand and comment
paramaters contain the current tag details. comment must be specified
even when no comment exists, but can be specified as a blank string in this
case. tag is expected to have been allocated already and no bounds
checks are performed. A safe size for allocation is
The function returns 0 for success, -1 for failure.