[Ontology-editors] Filtering out xps

Jennifer Deegan (nee Clark) jdeegan at ebi.ac.uk
Thu Apr 9 08:42:58 PDT 2009


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








More information about the Ontology-editors mailing list