| 1 |
|
| 2 |
## GOaddpath.pl |
| 3 |
|
| 4 |
Adds the path up to the root(s) for all GO terms in the first column. Doesn't touch the other columns. |
| 5 |
GO terms are additionally filtered to only include 'molecular_function' and 'biological_process'. |
| 6 |
Doubles are also deleted. |
| 7 |
|
| 8 |
usage: ./perl GOaddpath.pl <GOterm_file> <GOterm2term_file> <inputFile> <outputFile> |
| 9 |
example: perl GOaddpath.pl ./../data/goterm.txt ./../data/goterm2term.txt ./../examples/ex2_parser_output ./../examples/go_test_output |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
## GOeval.pl |
| 14 |
|
| 15 |
Reads in the first two columns as target and predicted GO terms. |
| 16 |
Filters, add's Path and removes doubles. |
| 17 |
Then evaluates the prediction. |
| 18 |
|
| 19 |
usage: ./perl GOeval.pl <GOterm_file> <GOterm2term_file> <inputFile> <outputFile> |
| 20 |
example perl GOeval.pl ./../data/goterm.txt ./../data/goterm2term.txt ./../examples/blast-out_cv.tab ./../examples/testoutput |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
## GOmultifiles.pl |
| 25 |
|
| 26 |
runs through a directory and does the same as GOaddpath.pl to any file that matches the regular expression. |
| 27 |
|
| 28 |
usage: ./perl GOmultifiles.pl <GOterm_file> <GOterm2term_file> <folder> <regex> |
| 29 |
example: perl GOmultifiles.pl ./../data/goterm.txt ./../data/goterm2term.txt ./../examples/ \.tab$ |
| 30 |
|
| 31 |
|
| 32 |
## GOfunctions.pm |
| 33 |
|
| 34 |
# gofilter(GOarray) |
| 35 |
Filters out all GO terms which are not annotated as 'molecular_function' or 'biological_process' |
| 36 |
|
| 37 |
# goAddPath(GOarray) |
| 38 |
Adds the path up to the root for any GO term in the array. |
| 39 |
Uses the relationships: 1 - is_a ; 13 - negatively_regulates; 14 - part_of; 15 - positively_regulates; 16 - regulates |
| 40 |
(also removes any doubles from the array) |
| 41 |
|
| 42 |
|