A simple C program to extract the Parent value from a GFF file for a given feature ID.
- Finds a genomic feature by its
IDin a GFF file. - Extracts the
Parentvalue from the 9th column of the matching line.
Run the following command to compile the program:
gcc src/gffparent.c -o gffparent./gffparent <feature_id> <gff_file>./gffparent "exon-NM_001178341.1-1" data/Scer.gff3