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

experiment looking at returning parent history #2599

Closed
wants to merge 1 commit into from
Closed

Conversation

nathandunn
Copy link
Contributor

@nathandunn nathandunn commented Mar 23, 2021

fixes #2597

Am able to get a "parent" version, but rendering is a problem still:

image

image

The return response fails to render, though I think as it is returning features at the wrong level:

{"features":[{"uniquename":"c9f980e0-063d-4acd-b595-3f9348c1faab","history":[{"date":"3/23/21 8:11 AM","editor":"ndunn@me.com","features":[{"owner":"ndunn@me.com","uniquename":"c9f980e0-063d-4acd-b595-3f9348c1faab","sequence":"Sm_000051F","children":[{"owner":"ndunn@me.com","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1","uniquename":"8c184e9d-160b-41df-81b1-ba471558f759","type":{"cv":{"name":"sequence"},"name":"mRNA"},"parent_type":{"cv":{"name":"sequence"},"name":"gene"},"date_creation":1616512073125,"sequence":"Sm_000051F","children":[{"owner":"None","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","uniquename":"b6f949d0-a0b1-46cc-a703-75cb0f5636d7","type":{"cv":{"name":"sequence"},"name":"exon"},"parent_type":{"cv":{"name":"sequence"},"name":"mRNA"},"date_creation":1616512073048,"sequence":"Sm_000051F","parent_id":"8c184e9d-160b-41df-81b1-ba471558f759","name":"b6f949d0-a0b1-46cc-a703-75cb0f5636d7","location":{"strand":1,"id":2051,"fmin":118362,"fmax":119207},"id":2051,"properties":[{"name":"orig_id","type":{"cv":{"name":"feature_property"}},"value":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1:exon:317"}],"date_last_modified":1616512073085},{"owner":"None","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","uniquename":"a74061fb-160e-4d8a-9d06-4e4f94102168","type":{"cv":{"name":"sequence"},"name":"exon"},"parent_type":{"cv":{"name":"sequence"},"name":"mRNA"},"date_creation":1616512073090,"sequence":"Sm_000051F","parent_id":"8c184e9d-160b-41df-81b1-ba471558f759","name":"a74061fb-160e-4d8a-9d06-4e4f94102168","location":{"strand":1,"id":2052,"fmin":119303,"fmax":119904},"id":2052,"properties":[{"name":"orig_id","type":{"cv":{"name":"feature_property"}},"value":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1:exon:318"}],"date_last_modified":1616512073108},{"owner":"None","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","uniquename":"fef55402-3383-47bd-9303-4a87cf15320f","type":{"cv":{"name":"sequence"},"name":"CDS"},"parent_type":{"cv":{"name":"sequence"},"name":"mRNA"},"date_creation":1616512073119,"sequence":"Sm_000051F","parent_id":"8c184e9d-160b-41df-81b1-ba471558f759","name":"fef55402-3383-47bd-9303-4a87cf15320f","location":{"strand":1,"id":2053,"fmin":118519,"fmax":119719},"id":2053,"properties":[],"date_last_modified":1616512073741}],"parent_id":"c9f980e0-063d-4acd-b595-3f9348c1faab","name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","location":{"strand":1,"id":2050,"fmin":118362,"fmax":119904},"id":2050,"properties":[{"name":"orig_id","type":{"cv":{"name":"feature_property"}},"value":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1"}],"date_last_modified":1616512073786}],"name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1","go_annotations":[{"reference":"asfd:123","geneRelationship":"RO:0002327","goTerm":"GO:0106223","notes":"[]","feature":"c9f980e0-063d-4acd-b595-3f9348c1faab","evidenceCodeLabel":"HEP (ECO:0007007): inferred from high throughput expression pattern","negate":false,"aspect":"MF","goTermLabel":"germacrene A hydroxylase activity (GO:0106223) ","evidenceCode":"ECO:0007007","id":225,"withOrFrom":"[\"asdf:123\"]"}],"location":{"strand":1,"id":2049,"fmin":118362,"fmax":119904},"id":2049,"type":{"cv":{"name":"sequence"},"name":"gene"},"properties":[],"date_last_modified":1616512289486,"date_creation":1616512073132}],"current":false,"structural_edit":false,"operation":"ADD_GO_ANNOTATION"},{"date":"3/23/21 8:25 AM","editor":"ndunn@me.com","features":[{"owner":"ndunn@me.com","uniquename":"c9f980e0-063d-4acd-b595-3f9348c1faab","sequence":"Sm_000051F","children":[{"owner":"ndunn@me.com","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1","uniquename":"8c184e9d-160b-41df-81b1-ba471558f759","type":{"cv":{"name":"sequence"},"name":"mRNA"},"parent_type":{"cv":{"name":"sequence"},"name":"gene"},"date_creation":1616512073125,"sequence":"Sm_000051F","children":[{"owner":"None","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","uniquename":"b6f949d0-a0b1-46cc-a703-75cb0f5636d7","type":{"cv":{"name":"sequence"},"name":"exon"},"parent_type":{"cv":{"name":"sequence"},"name":"mRNA"},"date_creation":1616512073048,"sequence":"Sm_000051F","parent_id":"8c184e9d-160b-41df-81b1-ba471558f759","name":"b6f949d0-a0b1-46cc-a703-75cb0f5636d7","location":{"strand":1,"id":2051,"fmin":118362,"fmax":119207},"id":2051,"properties":[{"name":"orig_id","type":{"cv":{"name":"feature_property"}},"value":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1:exon:317"}],"date_last_modified":1616512073085},{"owner":"None","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","uniquename":"a74061fb-160e-4d8a-9d06-4e4f94102168","type":{"cv":{"name":"sequence"},"name":"exon"},"parent_type":{"cv":{"name":"sequence"},"name":"mRNA"},"date_creation":1616512073090,"sequence":"Sm_000051F","parent_id":"8c184e9d-160b-41df-81b1-ba471558f759","name":"a74061fb-160e-4d8a-9d06-4e4f94102168","location":{"strand":1,"id":2052,"fmin":119303,"fmax":119904},"id":2052,"properties":[{"name":"orig_id","type":{"cv":{"name":"feature_property"}},"value":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1:exon:318"}],"date_last_modified":1616512073108},{"owner":"None","parent_name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","uniquename":"fef55402-3383-47bd-9303-4a87cf15320f","type":{"cv":{"name":"sequence"},"name":"CDS"},"parent_type":{"cv":{"name":"sequence"},"name":"mRNA"},"date_creation":1616512073119,"sequence":"Sm_000051F","parent_id":"8c184e9d-160b-41df-81b1-ba471558f759","name":"fef55402-3383-47bd-9303-4a87cf15320f","location":{"strand":1,"id":2053,"fmin":118519,"fmax":119719},"id":2053,"properties":[],"date_last_modified":1616512073741}],"parent_id":"c9f980e0-063d-4acd-b595-3f9348c1faab","name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1-00001","location":{"strand":1,"id":2050,"fmin":118362,"fmax":119904},"id":2050,"properties":[{"name":"orig_id","type":{"cv":{"name":"feature_property"}},"value":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1"}],"date_last_modified":1616513128380}],"name":"genemark-Sm_000051F-processed-gene-0.119-mRNA-1","go_annotations":[{"reference":"asfd:123","geneRelationship":"RO:0002327","goTerm":"GO:0106223","notes":"[]","feature":"c9f980e0-063d-4acd-b595-3f9348c1faab","evidenceCodeLabel":"HEP (ECO:0007007): inferred from high throughput expression pattern","negate":false,"aspect":"MF","goTermLabel":"germacrene A hydroxylase activity (GO:0106223) ","evidenceCode":"ECO:0007007","id":225,"withOrFrom":"[\"asdf:123\"]"}],"location":{"strand":1,"id":2049,"fmin":118362,"fmax":119904},"id":2049,"type":{"cv":{"name":"sequence"},"name":"gene"},"properties":[],"date_last_modified":1616513159507,"date_creation":1616512073132}],"current":true,"structural_edit":false,"operation":"ADD_PROVENANCE"}]}]}

@nathandunn nathandunn changed the title experiment looking at root-level experiment looking at returning parent history Mar 23, 2021
@nathandunn
Copy link
Contributor Author

Curious if this is worthwhile if only ever functional annotations.

@nathandunn nathandunn closed this May 7, 2021
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

Successfully merging this pull request may close these issues.

display gene / pseudogene history
1 participant