In addition to the excellent post (++) by brother kcott I should point out just in case you were unaware that your code as posted doesn't even compile.
$ perl -cw 1192233.pl syntax error at 1192233.pl line 23, near "/ARID1B/ {" Missing right curly or square bracket at 1192233.pl line 29, at end of + line 1192233.pl had compilation errors.
If you are seeking help with a particular piece of code it is always worth making sure that it compiles (unless the compilation itself is the problem) and that it is actually the code which you are running.
As a final hint to help you prepare an SSCCE, consider that to make the script self-contained and to ensure that you are not simply reading the files incorrectly, why not replace any reading-from-files with hard-coded arrays containing no more than the first 3 or 4 lines from each file? That makes it much easier for others to run, avoids path, permissions, encoding and EOL issues and aids analysis because the data is right there in the code. Once you have that working you can replace each static set with data read from a file. Do this one at a time in case any such replacement brings in unexpected bugs.
In reply to Re: perl script for extracting gene information from gff file
by hippo
in thread perl script for extracting gene information from gff file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |