NAME
fromgff3
USAGE
Usage: recs fromgff3 <args> [<files>]
Each line of input (or lines of <files>) is parsed as a GFF3 (General Feature
Format version 3) formatted record to produce a recs output record.
The output records will contain the following fields:
seq_id source type start end score strand phase attributes
Additional feature attributes are parsed into the "attributes" key, which is
a hash keyed by the attribute name. The values are arrays.
Refer to the GFF3 spec for field details:
https://github.com/The-Sequence-Ontology/Specifications/blob/master/gff3.md
Arguments:
--filename-key|fk <keyspec> Add a key with the source filename (if no
filename is applicable will put NONE)
Help Options:
--help This help screen
Examples:
Parse GFF3 and filter to just mRNA features:
recs fromgff3 hg38.gff | recs grep '{{type}} eq "mRNA"'