Well first your read a line of the file; then parse it into the nine fields; and the test the 9th column for a 'locus_tag=', using index or a regex. If it contains one, store the record in an array or to another file.
In reply to Re^3: bioperl newbie's question: simple GFF3 peocessing
by BrowserUk
in thread bioperl newbie's question: simple GFF3 peocessing
by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |