a-r-j / graphein

Protein Graph Library
https://graphein.ai/
MIT License
1.03k stars 131 forks source link

Sequencing Annotation Functions in Higher-level API #33

Closed a-r-j closed 3 years ago

a-r-j commented 3 years ago

Again in construct_rna_graph, sequencing the annotation functions might be important for users that write their own metadata annotation functions. E.g. you might want to use some node properties to annotate some of your edges and you might also want to use some edge properties to annotate your nodes. Obviously, this is less of an issue with the lower-level API, but if we don't want to provide complete control over this (could be messy) at this level we should give some thought to the sequencing that will keep most people happy.

Originally posted by a-r-j in https://github.com/a-r-j/graphein/pull/31#issue-547124277