You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RelationTypeEnum, EdgeAnnotationType in this library unnecessarily tie it to the Pathway Commons SIF or TXT (extended SIF, XSIF) data files (and even this is hard to maintain due to PC and Paxtools use similar but different enumerations for the same purpuse anyway).
Let's make this library more fexible and capable to load and query any SIF or SIF-ish text data files!
Column names and edge types can be simply String[] type parameter in the RelationTypeSelector and Loader Constructor. This library should allow to work with relationship (edge) and annotation (4th,.. columns) types which are actually present in the input data file.
Hi Igor, I somehow missed your issue in my inbox, sorry, now noticed by chance.
This sifgraph package is already not tied to Pathway Commons. But there is a specific handling of the Pathway Commons case, which I think you misinterpreted as a constraint.
RelationTypeEnum is the specific handling of the Pathway Commons use case. This enum implements the RelationType interface. For other use cases, one has to simply do the same thing and define their types by implementing RelationType. Why is this not a simple String? Because it has to tell us if the relationship is directed or not. This information is not in the SIF file and we cannot understand it for the relation types that we have never heard of. But it is necessary information for the graph queries.
EdgeAnnotationType is specific to Pathway Commons, yes, but it can simply be omitted for an arbitrary SIF file. Then the software will use only the first 3 columns. You have a point if you are complaining that this module does not support arbitrary annotations in SIF files. I did not intend to do that originally. Let me know if you think this has a use case.
RelationTypeEnum
,EdgeAnnotationType
in this library unnecessarily tie it to the Pathway Commons SIF or TXT (extended SIF, XSIF) data files (and even this is hard to maintain due to PC and Paxtools use similar but different enumerations for the same purpuse anyway).Let's make this library more fexible and capable to load and query any SIF or SIF-ish text data files!
Column names and edge types can be simply
String[]
type parameter in the RelationTypeSelector and Loader Constructor. This library should allow to work with relationship (edge) and annotation (4th,.. columns) types which are actually present in the input data file.Attn: @ozgunbabur
The text was updated successfully, but these errors were encountered: