GO-DAG-SUMMARY(1p)
π GO-DAG-SUMMARY π
okay so bestie, let me put you on to go-dag-summary β it's a Perl script (yes, from the User Contributed Perl Documentation corner of the universe) and it does exactly one iconic thing: it summarises an ontology. that's it. that's the whole job. it ate and left no crumbs π¦
β¨ NAME β¨
go-dag-summary β summarises an ontology π
β¨ SYNOPSIS β¨
go-dag-summary ontology/gene_ontology.obo
literally that's it, you just hand it a file and let it cook π
β¨ DESCRIPTION β¨
Summarises an ontology.
(no frills, no drama, she just summarises β¨)
β¨ ARGUMENTS β¨
-eERRFILE β sends your parse errors out as XML, and it defaults toSTDERR. lowkey you should never actually see anything here tho, because a well-formed file should not produce any parse errors at all. so if this thing starts yapping, something's wrong π-pFORMAT β tells it which parser to use. if you don't specify it, she'll just make a guess based on the file suffix (the girlies love a little detective work π΅οΈ). see below for the formats.
πΈ -use_cache πΈ
if you pass this switch, bestie, then caching mode is officially ON. periodt.
here's the tea on caching mode: the first time you parse a file, it also exports an extra file in a special format that's fast to parse. that file gets the same filename as your original file, except it rocks a .cache suffix.
the next time you parse the file, the program will automatically look for that .cache file. if it exists and it's more recent than the file you specified, then that's what gets parsed instead. if it doesn't exist? it just gets rebuilt. no cap. π₯
β¨ OUTPUT β¨
one row per ontology, okay? one. row. per. ontology. π
each row has the following columns:
input filenameβ the file you fed her- total no of terms
- total no of relationships
- total no of paths
- avg no of paths per term (p/t)
- maximum no of paths for any term
- ID of term with maximum no of paths
NOTE: obsolete terms are not included π (they got left on read)
β¨ DOCUMENTATION β¨
<http://www.godatabase.org/dev>
β¨ SEE ALSO β¨
<http://www.fruitfly.org/~cjm/obol/doc/go-complexity.html>
and that's the whole manual, bestie, you're basically a certified ontology summariser now π«Ά
this page is brought to you by perl v5.36.0, dated 2023-12-18 β yeah she's a little vintage but she still slays π β π
π¦ where this page comes from
- debian trixie: libgo-perl 0.15-10 Β· Perl
- ubuntu noble: libgo-perl 0.15-10 Β· Perl
- ubuntu resolute: libgo-perl 0.15-10 Β· Perl
- ubuntu stonking: libgo-perl 0.15-10 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms