Comments (7)
I think the approach should be (largely) no meta-data left behind. Might be
a few cases where it's inappropriate, but largely it should be held onto.
On Thu, Oct 23, 2014 at 7:07 PM, Nathan Dunn [email protected]
wrote:
Question/Issue 1:
I noticed that when creating transcripts from evidence, that all meta data
(like ‘description, dbxref) are lost. This is a bit of a problem, since my
workflow/rationale looks like this:
- create annotation with maker
- functionally annotate maker annotation
- load as track into WebApollo
- Manual verify transcript structures/meta data and add to
user-curated track (changing the models significantly would of course
require the curator to remove the meta data)- Save curated annotations to Chado DB
- Load curated annotations to Jbrowse portal from Chado
So I hadn’t intended to ever take the annotations out of the database
again - but if the meta data is always lost in this processing chain, I
would basically have to dump out the WebApollo annotation, functionally
annotate it and then load it into JBrowse as a flat file. Which to me
defeats the purpose a little bit of being able to store WebApollo
transcript models to chado and so on (in my use case anyway).—
Reply to this email directly or view it on GitHub
#52.
from apollo.
I agree. It should be identical.
Nathan
On Oct 28, 2014, at 9:08 AM, selewis [email protected] wrote:
I think the approach should be (largely) no meta-data left behind. Might be
a few cases where it's inappropriate, but largely it should be held onto.On Thu, Oct 23, 2014 at 7:07 PM, Nathan Dunn [email protected]
wrote:Question/Issue 1:
I noticed that when creating transcripts from evidence, that all meta data
(like ‘description, dbxref) are lost. This is a bit of a problem, since my
workflow/rationale looks like this:
- create annotation with maker
- functionally annotate maker annotation
- load as track into WebApollo
- Manual verify transcript structures/meta data and add to
user-curated track (changing the models significantly would of course
require the curator to remove the meta data)- Save curated annotations to Chado DB
- Load curated annotations to Jbrowse portal from Chado
So I hadn’t intended to ever take the annotations out of the database
again - but if the meta data is always lost in this processing chain, I
would basically have to dump out the WebApollo annotation, functionally
annotate it and then load it into JBrowse as a flat file. Which to me
defeats the purpose a little bit of being able to store WebApollo
transcript models to chado and so on (in my use case anyway).—
Reply to this email directly or view it on GitHub
#52.—
Reply to this email directly or view it on GitHub #52 (comment).
from apollo.
I think what Marc is referring to is that the metadata is not kept when importing the annotations, not when exporting them.
Note that he says he adds functional annotations before importing to webapollo, and he is concerned that these are lost.
So I think the relevant cards are
https://trello.com/c/4oDnoPKd/195-preserve-metadata-when-dragging-a-new-feature-into-the-user-created-annotations-area
https://trello.com/c/wKqdgGKq/209-support-preserving-metadata-from-evidence-tracks-when-dragging-a-new-annotation-for-curation
from apollo.
My plan for this was to add an integration test that did a round-trip export / import. Doing the reverse makes sense, as well.
from apollo.
Somewhat related to #1146 in that that will be pulling up gene fixes.
from apollo.
@satta and FYI @deepakunni3
The server-side never sees the additional annotations. The methods to be fixed (specifically to support Chado / JBrowse) are these sets of methods in DraggableHTMLFeatures:
For gene / mRNA we have createAnnotations and for other transcripts we have createGenericAnnotations.
Not sure why they don't share the same code-base, but that is neither here nor there. It looks like the incoming code uses a NCList instead of JSON.
This is the code that moves from NCList to JSON and seems to have all of the upstream attributes. The JSON created there should correspond to this on the other end (which should be similar to the features I already gave you). This is the code that actually converts the JSON to the Feature, but it should take in generic properties if in the correct JSON format.
It would probably be good to confirm that REST JSON tracks use this mechanism (the NCList), but I'm pretty sure that is the way it works, since it is also using HTMLFeatures.
from apollo.
Importing is already fixed by @deepakunni3 as part of the fix for #1297
from apollo.
Related Issues (20)
- Unable to create combination tracks HOT 2
- log4j vulnerability: afaict we're safe? HOT 6
- imported annotations not populating annotations tab HOT 12
- Get gene sequence HOT 2
- CDS features not appearing when written via annotations._check_write HOT 1
- Upgrade to more modern versions of dependencies? HOT 3
- Add pop up to Fmin and Fmax radial button area in annotator panel
- How to install Apollo in Windows?
- [Feature request] Update owner info from web services
- Download all the manual curation history from Apollo? HOT 1
- new install error? HOT 2
- High vulnerability caused by Apache Shiro HOT 7
- OpenID/Oath support HOT 1
- Web service calls for ShowStatus and Update status not working as expected HOT 1
- Request: Video Tutorial for configuring with H2 Apollo (and perhaps any of the other two too)
- Refactor to support Postgres greater than 11 HOT 3
- IT just sent us the latest vulnerability report. Two dependencies need updating. HOT 1
- load_gff3 miscalculates CDS HOT 4
- Range Error when adding BAM track HOT 1
- Cannot get property 'sequence' on null object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo.