NAME

gffencode - Encodes text version of gff back to binary gff


SYNOPSIS

gffencode [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--filenames|-f] [--separator|-s separator] [--output|-o output_filename] filename ...

gffencode --help


DESCRIPTION

gffencode takes the output of gffprint(1) and converts it back to the binary gff. The gffprint(1) output should be generated with -t option so that it has all the internal type information. If -f is given then it reads the output of gffprint(1) with -b or -f, and uses the file names of the original gff file. This can be used to change lot of files. If no output file is given then the TemplateResRef of the file is used.


OPTIONS

--help -h
Prints out the usage information.

--version -V
Prints out the version information.

--verbose -v
Enables the verbose prints. This option can be given multiple times, and each time it enables more verbose prints.

--config config-file
All options given by the command line can also be given in the configuration file. This option is used to read another configuration file in addition to the default configuration file.

--filenames -f
Take the output file name from the input instead from command line. This is usefull when processing the gffprint(1) -b or gffprint(1) -f output.

--output -o output_file
Resulting binary erf is written to this file.

--separator -s separator
Assume that the input file is using given string as a separator between the label and value instead of default :\t.


EXAMPLES

    gffprint -t foo.git > file; emacs file; gffencode -o foo.git file
    gffprint -b -t *.git | sed 's/foo/bar/g' | gffencode -f


FILES

~/.gffencoderc
Default configuration file.


SEE ALSO

gffprint(1), gffmodify(1), Gff(3), and GffWrite(3).


AUTHOR

Tero Kivinen <kivinen@iki.fi>.


HISTORY

This program appeared as a pair to the gffprint(1) after we needed to change a tags of all items in the given area (several hundred cases).