galaxy-rna-workbench icon indicating copy to clipboard operation
galaxy-rna-workbench copied to clipboard

Be creative - create/import workflows

Open bgruening opened this issue 8 years ago • 35 comments

We have a variety of tools and visualisations - we should create example workflows for them and cover use-cases.

Can everyone come up with at least on workflow?

bgruening avatar Dec 19 '16 20:12 bgruening

You can use the already existent Docker image to create a workflow and export it as *.ga file and submit it into this repo. it should be easy as this.

@s-will has already mentioned to have a few ideas as well.

bgruening avatar Dec 23 '16 20:12 bgruening

@bgruening @s-will I am thinking to use the RNA-seq workflow which was used in our courses.

dyusuf avatar Dec 24 '16 11:12 dyusuf

Sounds good. Hopefully all tools are integrated. Can you also create one with one of your tools?

bgruening avatar Dec 24 '16 12:12 bgruening

@dyusuf: @jfallmann is working on tours for the main training material https://github.com/bgruening/training-material/blob/master/RNA-Seq/tutorials/ref_based.md I guess it would be nice if we can have a workflow for this one. So that everything is coherent.

bgruening avatar Dec 25 '16 12:12 bgruening

@bgruening @dyusuf Think that's a good idea, the tour should be easy to adopt for other datasets later if that's needed

jfallmann avatar Dec 25 '16 12:12 jfallmann

@bgruening @jfallmann sure, I do so

dyusuf avatar Dec 27 '16 09:12 dyusuf

@bgruening

I try to use subworkflow. Well, after adding a subworkflow, there are no options available for it even though it works fine as an independent workflow.

any hints?

dyusuf avatar Dec 27 '16 14:12 dyusuf

@bgruening the subworkflow only works when "copy and insert individual steps"

dyusuf avatar Dec 27 '16 14:12 dyusuf

@dyusuf let's use the copy and insert for now. I think this is an upstream bug. @s-will are you working on a small example ViennaRNA workflow?

bgruening avatar Dec 29 '16 16:12 bgruening

@bgruening for mapping, how to resolve the issue for the large data like genome.

usually, a galaxy server has built-in index...

dyusuf avatar Dec 29 '16 16:12 dyusuf

We could include the reference genomes as well ... but this would blow up the image. Can we give a link to the fasta reference file (UCSC link) to download as well?

bgruening avatar Dec 29 '16 17:12 bgruening

@bgruening

when I using tophat to do mapping the outputs are empty without errors.

using the same datasets, the Freiburg server generates the outputs with sizes.

could you do a simple mapping with any datasets to see whether the issues can be reproduced.

ps: the reference is not built-in but from history

dyusuf avatar Dec 30 '16 09:12 dyusuf

@bgruening

please look at the following two examples. It seems tophat may have the issue on workbench.

workbench, empty outputs: http://192.52.2.98/u/admin/h/unnamed-history

freiburg, outputs with sizes: http://galaxy.uni-freiburg.de/u/dilmurat-yusuf/h/testtophat

dyusuf avatar Dec 30 '16 10:12 dyusuf

I guess this is because tophat needs more memory and we need to change the job_conf.xml

bgruening avatar Dec 30 '16 11:12 bgruening

@bgruening let me know when it is fixed so I can test the workflow.

dyusuf avatar Dec 30 '16 13:12 dyusuf

@bgruening I want to integrate dexseq into the workflow, while the installation of the galaxy tool invokes the old dependency resolver where are some problems with the dependencies. I am wondering if there is a version that relies on the conda pkg.

dyusuf avatar Jan 16 '17 09:01 dyusuf

@dyusuf I think we have a conda package for it, but I never found the time to update the wrapper :(

bgruening avatar Jan 16 '17 10:01 bgruening

@bgruening I am trying to update the dexseq wrappers to use the available conda pkgs.

so far, it went well with dexseq.xml.

for dexseq_count.xml, an environmental variable $DEXSEQ_ROOT is required to access two python scripts in the Dexseq package.

https://github.com/galaxyproject/tools-iuc/blob/643293a896a2ccfac10fe995f48c7f01c1a89a7f/tools/dexseq/dexseq_count.xml#L19

with the old resolver, the variable can be set with set_environment which seems being ignored by the conda resolver.

Do you know how to resolve this issue?

dyusuf avatar Jan 16 '17 15:01 dyusuf

I guess the correct solution is to put the python scripts into PREFIX/bin in the conda package?

bgruening avatar Jan 16 '17 22:01 bgruening

@bgruening yes for sure, that can be done at the level of conda package. I was just wondering any solution from Galaxy so that I need not go to bioconda to fix the recipe :) well, it seems the only solution.

by the way, I found the bioconda recipe is for version 1.18.4 while the conda package is 1.16.6. do you know why the 1.18.4 version was not compiled.

https://github.com/bioconda/bioconda-recipes/blob/master/recipes/bioconductor-dexseq/meta.yaml

https://anaconda.org/bioconda/bioconductor-dexseq/files

dyusuf avatar Jan 17 '17 08:01 dyusuf

Probably, just a lack of time on my side :( There is a hacky way on the Galaxy side, involving which or find ;)

bgruening avatar Jan 17 '17 08:01 bgruening

Thanks Dili!

bgruening avatar Jan 17 '17 08:01 bgruening

@bgruening regarding the tophat failure, the following error might be the culprit,

/export/galaxy-central/database/job_working_directory/000/36/conda-env/bin/tophat2: /export/tool_deps/_conda/pkgs/tophat-2.1.0-py35_0/bin/tophat: /opt/anaconda1anaconda2anaconda3/bin/python: bad interpreter: No such file or directory

this might be the issue related to the conda pkg.

dyusuf avatar Jan 18 '17 16:01 dyusuf

@bgruening I did planemo test on the galaxy tophat2 tool (in my ubuntu), there was no error with conda dependencies. then is it possible something wrong with docker setting in relation to conda?

dyusuf avatar Jan 18 '17 17:01 dyusuf

According to @dpryan79 tophat never worked on python3, so the shebang is probably python2 in this script, which is not available? https://github.com/bioconda/bioconda-recipes/pull/3513

bgruening avatar Jan 18 '17 23:01 bgruening

@bgruening so what would be the plan to make tophat work? a workbench without this aligner does not sound promising.

dyusuf avatar Jan 19 '17 09:01 dyusuf

We should fix it ;) Can you try again, hopefully it is fixed :)

bgruening avatar Jan 19 '17 10:01 bgruening

@s-will can you get one workflow/tour up and running?

bgruening avatar Feb 28 '17 13:02 bgruening

@yhoogstrate any small workflow possible. With a nice description maybe to get a VIs after your WF? @TorHou can you also please add one. @bagnacan can the Rostock group please also add one or two ... preferably with the tools already included.

bgruening avatar Mar 04 '17 17:03 bgruening

Are we talking about Rna 2d structure and which deadline? I won't be able to find Time this weekend

yhoogstrate avatar Mar 04 '17 18:03 yhoogstrate