From: Chris M. <cj...@be...> - 2009-04-09 16:59:33
|
See go-perl/scripts/obo-* most of these can be run as standalone scripts and don't require full installation of go-perl here you want obo-filter-tags.pl There is also OSL of course, but that may be overkill here On Apr 9, 2009, at 8:42 AM, Jennifer Deegan (nee Clark) wrote: > Hi Chris, > > Following on from the thread 'marking XP terms', do you have a > script already that filters out parts of an OBO file like this: > > [Term] > id: GO:0000087 > name: M phase of mitotic cell cycle > namespace: biological_process > def: "A cell cycle process comprising the steps by which a cell > progresses through M phase, the part of the mitotic cell cycle > during which mitosis takes place." [GOC:dph, GOC:mah, ISBN:0815316194] > synonym: "M-phase of mitotic cell cycle" EXACT [] > is_a: GO:0000279 ! M phase > intersection_of: GO:0000279 ! M phase > intersection_of: part_of GO:0000278 ! mitotic cell cycle > relationship: part_of GO:0000278 ! mitotic cell cycle > > to produce this: > > [Term] > id: GO:0000087 ! M phase of mitotic cell cycle > intersection_of: GO:0000279 ! M phase > intersection_of: part_of GO:0000278 ! mitotic cell cycle > > If you do then could I borrow it because I'd like to extend it to > also keep the line: > > synonym: "xp_checked" RELATED XPDONEMARKER [] > > Thanks, > > Jen > > > > > > > _______________________________________________ > Ontology-editors mailing list > Ont...@ge... > http://fafner.stanford.edu/mailman/listinfo/ontology-editors > |