-
Notifications
You must be signed in to change notification settings - Fork 70
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
add blast XML visualizations based on crossbio #61
base: master
Are you sure you want to change the base?
Conversation
<data_sources> | ||
<data_source> | ||
<model_class>HistoryDatasetAssociation</model_class> | ||
<test type="isinstance" test_attr="datatype" result_type="datatype">blast.BlastXml</test> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peterjc can you confirm that this is not working for you? If you change it to xml.GenericXml
or data.Text
it should work.
Another reason to move the BLAST datatypes into the core?
It could be clearer crossbio/crossbio#2 but crossbio is also using the MIT licence, so that isn't a problem for adding this :) Right now TravisCI is failing with Right now I believe the Galaxy Tool Shed still doesn't support visualizations - so how would any end user install this? Just copy the folder under |
Yes, this is the only option I know. |
Easy - put it in core :). I would 👍 a PR to core especially if it also came with the blast datatypes - not sure everyone else would though obviously. It would also mean we can correct backward incompatible changes to the framework like galaxyproject/galaxy#243 by modifying the plugin itself to match the version of Galaxy it is stored with. |
@jmchilton you mean the visualization into core? We would need the datatypes as well to make it work :) Somehow I missed #243. @peterjc if you use latest :dev you should adopt this before you test it. |
@bgruening Yes - I meant the visualization. |
If the Galaxy dev / IUC consensus is to move datatypes into the core, we can put the BLAST datatypes back again - which would allow putting this visualization into the Galaxy core too. That seems pragmatic since for now the Tool Shed doesn't support visualizations. [@greenify this code looks interesting, I want to see it merged here or into the Galaxy core - just unclear where is the best fit right now] P.S. Looking at galaxyproject/galaxy#243 now... |
I think the BLAST datatypes are pretty safe to move to core now. They have a proper definition in blast.py, are used a lot in other tools and have sniffers, even split/merge functions. If you target dev I can patch the changes for galaxyproject/galaxy#243 in. |
@peterjc: thanks for bringing up this issue. I will add a proper license file tomorrow once I get back from my short vacation! It's fantastic that you guys even consider to move this to your core :) |
@greenify Adding the code to this repository ( Adding it to the main Galaxy core is a bigger hurdle, but has respected advocates pushing for it :) |
If that datatype test is erroring or failing on a TS installed datatype - that's a bug. I'll look into that. |
@bgruening @peterjc re: the config file datatype: if you go to '/api/datatypes/mapping' and search for your BlastXml datatype in I've installed the devteam blast types from the toolshed and gotten a visualization to show using the above technique. |
@carlfeberhard thanks for looking into it. For me this is: |
Ah - no, sorry: miscommunication. For me the id for the devteam blast xml datatype was So it's working with that? If so, good! |
Yes, it's working and it looks great! |
The way the registry converts class names to classes using the datatypes registry is less than ideal. It's something I'm working on. |
Ok! Sorry, for the trouble. |
… extension, properly template ids for url
Fix datatype on config to BlastXml.BlastXml, add alternate test using…
@peterjc can me merge this here? So it get's some attention. |
One of the TravisCI tests was failing, rerunning fixed it so it was probably just an SQLite locking issue. @bgruening If you're happy to be the contact person for this, then sure - I can merge it. It might be time to move this repository to a team model, perhaps under https://github.com/galaxyproject/ like the IUC owned repositories? If the Galaxy team agree with pulling datatypes back into the core (after previously moving them to the Tool Shed), then I'm happy to help with that. [Update: That has been done now] |
This PR will add a Galaxy visualization for BLAST XML files based on http://crossb.io/ and developed by @greenify.
Should fix: #60
@peterjc please not that I have trouble to bind this visualization to a Tool Shed datatype. See more as an inline comment.
You can test this by simply copy this folder into
GALAXY_ROOT/config/plugins/visualizations/
.