Ask Pathway Tools logo   Pathway Tools Question & Answer forum for SRI's Pathway Tools

Ask Your Question
0

Accessing the pathway hierarchy

asked 2017-07-14 08:01:28 -0500

jo gravatar image

I'm wondering if there is a way to read out the metacyc pathway hierarchy?

More precisely, I want to get e.g. all pathways from class Detoxification->Acid Resistance. Could this be done via the API or somehow else?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-17 13:24:43 -0500

Suzanne Paley gravatar image

The answer is yes, but the how depends on what you mean by "get" all the pathways. We don't provide a complete expanded tree showing all pathway classes and their instances, but you can browse the pathway hierarchy interactively at https://biocyc.org/META/class-tree?ob.... If you create a SmartTable containing the class(es) you are interested in, there is a transform operation to show the children of each class (this includes both subclasses and pathway instances, however many levels deep). If you're looking to extract this information via our web services, you can construct a biovelo query to do this. For example:

https://websvc.biocyc.org/xmlquery?%5...

retrieves info about all 3 pathways in the Acid-Resistance class, and

https://websvc.biocyc.org/xmlquery?qu...

retrieves info about all 57 pathways in the Detoxification class and its subclasses (other available detail levels are "none" or "full").

Alternatively, if you download the MetaCyc flat files, there is a file that lists all the classes in MetaCyc (not just pathway classes) and their sub- and super-classes, and another file that lists all the pathway instances and their parent classes, so with a little effort you could reconstruct the pathway hierarchy from that.

I hope this helps.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-07-14 08:01:28 -0500

Seen: 24 times

Last updated: Jul 17