Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPR needs to recurse into the hierarchy to link interactions #2

Open
cjmyers opened this issue Aug 28, 2018 · 0 comments
Open

VPR needs to recurse into the hierarchy to link interactions #2

cjmyers opened this issue Aug 28, 2018 · 0 comments

Comments

@cjmyers
Copy link

cjmyers commented Aug 28, 2018

I ran into an issue with the “data2” approach in regards to CDs with hierarchy. Consider the following example:

CD pro

CD rbs

CD cds

CD gene
Comp rbs
Comp cds

CD TU
Comp pro
Comp gene

CD protein

MD production
Comp cds_prod
Comp protein_prod
Interaction production
Participation cds
Participation protein

If we apply, VPR, we get:

MD top
FuncComp cds_top
FuncComp protein_top
FuncComp TU
MapsTo cds to cds_top
Module production
MapsTo cds_prod to cds_top
MapsTo protein_prod to protein_top

This is wrong though because TU does not have the cds mapped up to it. Once again, we need to map things up, like so:

MD top
FuncComp cds_top
FuncComp protein_top
FuncComp gene_top
MapsTo cds to cds_top
FuncComp TU
MapsTo gene to gene_top
Module production
MapsTo cds_prod to cds_top
MapsTo protein_prod to protein_top

Its not so pretty, but I don’t see any easier way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant