Hi Mitch,
Thank you for your interest.
The software behind OmniPath is `pypath` and what you see in the
webservice is a limited view of the data structure built by `pypath`.
In `pypath` we have input definitions in the `data_formats` submodule.
Let's see for example DIP:
https://github.com/saezlab/pypath/blob/33046f80ac65863b567bfeee1d1c810e98596bb9/src/pypath/data_formats.py#L557
Here `inFile='get_dip'` means to use the `pypath.dataio.get_dip()`
method to obtain the data.
You see `extraEdgeAttrs` contains `dip_methods`, and it says the
methods are in column `4` and separated by `;`.
Then if you load DIP in `pypath`, the `igraph` object in the
`pypath.main.PyPath()` instance going to have an edge attribute
`dip_methods` having for each edge a list with the methods. This works
the same way for the data sources which provide methods, e.g.
`dd_methods`, `netpath_methods`, `trip_methods`, `hprd_methods`,
`matrixdb_methods`, etc. Hence you can access these, for example for
edge `0`, like this:
>>> pa = pypath.PyPath()
>>> pa.init_network({'dip': pypath.data_formats.interaction['dip']})
>>>
pa.graph.es[0]['dip_methods']
['two hybrid']
You might be wondering why we have separate edge attribute for each
resource. This is because their nomenclature is not always the same
and we did not standardize them. To merge these annotations one would
need to translate them to a controlled vocabulary from a standard
ontology.
I hope it helps, please tell me if you have more questions.
Best wishes,
Denes
> --
> You received this message because you are subscribed to the Google Groups
> "Omnipath" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
omnipath+u...@googlegroups.com.
> To view this discussion on the web, visit
>
https://groups.google.com/d/msgid/omnipath/CAKHnudgQbdz42n%3DyVFjQsXkhR09-5T6gODxwKLLe3GcaB7HReg%40mail.gmail.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Denes Turei, Ph.D.
postdoc @ Uniklinik RWTH Aachen & EMBL Heidelberg
+4915166299976 Germany
+447442970610 UK
de...@ebi.ac.uk
http://www.ebi.ac.uk/~denes
public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5706A4B609DD65A6