-
Notifications
You must be signed in to change notification settings - Fork 443
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
Jbrowse2 #5695
Jbrowse2 #5695
Conversation
blastxml doesn't crash - hard to test..
…nditionals. Such fun was had discovering this.
tools/jbrowse/.shed.yml
Outdated
@@ -1,12 +1,12 @@ | |||
categories: | |||
- Sequence Analysis | |||
description: JBrowse Genome Browser integrated as a Galaxy Tool | |||
description: JBrowse2 Genome Browser integrated as a Galaxy Tool |
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.
Can you please revert this change to the older jbrowse?
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.
yes - I did as soon as I saw planemo testing the wrong xml
+ GITHUB_REF=refs/pull/5695/merge
+ '[' 'tools/jbrowse
tools/jbrowse2' == '' ']'
+ echo -n 'tools/jbrowse
tools/jbrowse2'
+ echo -n tools/jbrowse2/jbrowse2.xml
+ echo -n 20
+ '[' lint == lint ']'
+ lint_fail=false
+ mapfile -t REPO_ARRAY
+ for DIR in "${REPO_ARRAY[@]}"
+ '[' false '!=' true ']'
+ planemo shed_lint --tools --ensure_metadata --urls --report_level all --fail_level warn --recursive tools/jbrowse
+ tee -a lint_report.txt
Linting repository /home/runner/work/tools-iuc/tools-iuc/tools/jbrowse
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.
oh I rewrote the wrong one too ! Sorry - yes of course.
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.
done @bgruening Sorry...
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.
Still seeing CI lint failing with the wrong xml - planemo is linting jbrowse not jbrowse2 @bgruening. Not sure what to do.
tools/jbrowse2' == '' ']'
+ echo -n 'tools/jbrowse
tools/jbrowse2'
+ echo -n tools/jbrowse2/jbrowse2.xml
+ echo -n 20
+ '[' lint == lint ']'
+ lint_fail=false
+ mapfile -t REPO_ARRAY
+ for DIR in "${REPO_ARRAY[@]}"
+ '[' false '!=' true ']'
+ planemo shed_lint --tools --ensure_metadata --urls --report_level all --fail_level warn --recursive tools/jbrowse
+ tee -a lint_report.txt
Linting repository /home/runner/work/tools-iuc/tools-iuc/tools/jbrowse
Applying linter expansion... CHECK
.. INFO: Included files all found.
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.
ok...passes lint now. Ouch. That was annoying clumsiness.
Odd. Passes planemo tests here:
|
Please note that the CI is running 'planemo test --biocontainers ' |
…nclude everything in the files folder - seems to work...
Nice to see progress! Have you been able to reuse some code from #3997 or you restarted from scratch? |
@abretaud: Helena's JB1 code is extensively reused but unfortunately I didn't know you'd done all that before I started hacking on it...big difference from #3997 is there is an option to generate json directly rather than calling jbrowse to do it - both seem to work - the two options are there because it took me a while to realise that no matter how config.json is being generated, even if it works fine in Galaxy, when downloaded cannot be understoood by the desktop client. It does work when served by nginx of course - there seems to be a complete disconnect unfortunately - but all the common formats work and with a PR for bcbio, maf will work too. |
@bgruening: after a lot of pfaffing about, it turns out that the JBrowse2 desktop client cannot understand a setup that works perfectly well in Galaxy or when served locally by nginx. At present, JB2 works fine in Galaxy. Downloaded tarballs can be unpacked and served statically from nginx easily enough but cannot be used by the desktop client. |
URL serving is efficient but requires a proper https certificate that curl doesn't object to. So. Back to everything in. It's compressed except for already compressed formats like hic and bigwig But bloat.
@bgruening: the python code for a simple web server that understands byte ranges, serves an unpacked archive from this tool nicely.
Best I can think of - it may be some time #4161 before there is harmonisation between jbrowse2 desktop and web. |
@bgruening: Stumped again. Passes without biocontainers but fails using biocontainers.
So it's not allowed to write to the jbrowse2 output folder - do I need to fix anything - this may be an os.realpath thing. Let me see. |
Tried copying the way it's done in jb1 - more revealing error message:
|
…ts compared to biocontainers. What a pity they are not identical :)
problem of finding the jbrowse2 folder to copy is not easy to solve in both conda and biocontainers. so we use jbrowse create instead.
FOR CONTRIBUTOR:
This is a very stripped-down working prototype, repurposing @hexylena's JBrowse1-in-Galaxy for JBrowse2.
Available for testing from the toolshed
Most things are working in testing - screenshot shows bed bam vcf maf bigwig gff sample data tracks
and HiC