galaxy-tools-ibridges
iBridges-based tools for Galaxy to interact with iRODS/YODA
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.3%) to scientific vocabulary
Repository
iBridges-based tools for Galaxy to interact with iRODS/YODA
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
Galaxy Project tool module for downloading from, uploading to, and browsing iRODS
This Galaxy Project tool module contains three tools:
iBridges download from iRODS , a Galaxy tool for downloading files and folders from iRODS into a Galaxy collection. Takes paths to one or more files (dataobjects), one or more folders (collections), or a combination, and downloads all files into the same Galaxy collection.
iBridges upload to iRODS, a Galaxy Tool for uploading files or collections from Galaxy into an iRODS folder.
iBridges browser for iRODS , an Galaxy tool that allows users to browse through an iRODS instance to locate objects and collections, and select them for use in a Galaxy workflow. The tool launches as a Galaxy Interactive Tool, allowing the user to browse an iRODS instance through a separate web interface.
The tools are named for iBridges, the library used for interacting with iRODS.
Installation
The three tools are available in the Galaxy Toolshed as a single module called 'ibridges' (Toolshed link), and can be installed in a running Galaxy instance via Admin > Tool Management > Install and Uninstall (search for 'ibridges').
Currenly the tools work with only one iRODS instance per Galaxy installation.
Galaxy configuration
Changes to user_preferences_extra_conf.yml
Add the following to config/user_preferences_extra_conf.yml (create the file if it doesn't exist):
yml
preferences:
irods_config:
description: Your iRODS account
inputs:
- name: username
label: Username
type: text
required: True
- name: password
label: Data Access Password
type: secret
required: True
- name: env
label: Config
required: True
type: text
This will create a section Your iRODS account with inputs for Username, Data Access Password, and Config in the Galaxy user profile, in which users can store their credentials for accessing the appropriate iRODS instance.
Please note: if you don't need the browse function, you can skip the changes to config/galaxy.yml and config/job.yml below.
Changes to galaxy.yml
The browse tool is an interactive tool (essentially a webserver communicating with the iRODS server, running in a Docker container). To enable the running of interactive tools, make sure the following settings are present in the galaxy and gravity sections of config/galaxy.yml (change my_galaxy_domain.com to the domain of the actual Galaxy server):
```yml galaxy: interactivetoolsenable: true outputstoworkingdirectory: true galaxyinfrastructureurl: http://mygalaxydomain.com:8080 interactivetoolsmap: database/interactivetoolsmap.sqlite interactivetoolsupstreamproxy: false interactivetoolsproxyhost: localhost:4002
gravity: gxitproxy: enable: true port: 4002 ```
Changes to job.yml
For the running of interactive jobs, add the following to the config/job.yml file (create the file if it doesn't exist):
```yml runners: local: load: galaxy.jobs.runners.local:LocalJobRunner workers: 4
execution: default: docker_dispatch environments: local: runner: local
docker_local:
runner: local
docker_enabled: true
docker_set_user:
docker_dispatch:
runner: dynamic
type: docker_dispatch
docker_destination_id: docker_local
default_destination_id: local
```
iRODS environment file
Copy the appropriate server configuration from the section Step 2. Configuring iCommands of the page 'Using iCommands for large datasets', and paste it as a string into the Config input for Your iRODS account (via main Galaxy menu: User > Preferences; link Manage Information). You can leave the iRODS username exampleuser@uu.nl as it is.
iRODS access
Make sure users using the tools have access to the iRODS instance specified in the iRODS environment Users must save their username (e-mail address) and Data Access Password in the appropriate inputs for Your iRODS account. Every time one of the tools needs to access iRODS, it automatically reads the credentials from the user's personal profile, and uses them to log in. Be aware that Data Access Passwords have a limited lifespan; if a DAP has expired, the tools will fail, and you will see an error message in the error output.
Running the iBridges browser for iRODS
When running an interactive tool, the interactive tool-icon (three gears) will appear in the Galaxy main menu, to the right of User. Clicking the icon opens a screen listing the interactive tools that are running. This can also be reached using the option Active Interactive Tools in the User-item of the main menu. If the icon and the option in the User-menu aren't there, it means no interactive tools are running. If they appear briefly and then disappear, launching of the tool was unsuccesful.
Next, open the tool by clicking 'ibridges browser' in the Active Interactive Tools-list (if the link isn't clickable, the tool is still starting). A new tab will open with a simple web page listing the dataobjects and collections in the user's home folder for the iRODS instance. Navigate through the instance by clicking collections' names, and the links in the breadcrumb path.
To select a path as output for the module, navigate to the appropriate collection and click the 'select'-button. The interactive tool will terminate, signalling to Galaxy that exectution of the workflow can continue. The selected path will be available as the module output parameter 'iRODS path' (this will take a few seconds). Alternatively, you can also copy the path without quitting to your computer's clipboard by clicking 'copy'. To quit without selecting a path, click 'quit' or close the page; the value of the 'iRODS path' parameter will be None.
Please note that the tools' web page cannot close itself; close it by hand once you're done.
Building a local copy of the browser container
Galaxy iBridges browse uses a Docker container which runs in Galaxy's own Docker-environment. It can be pulled from Utrecht University's package registry, and is pulled automatically by Galaxy, from the specification in ibridges_browse.xml:
xml
[...]
<requirements>
<container type="docker">ghcr.io/utrechtuniversity/ibridges_browse:0.1</container>
</requirements>
[...]
If for some reason you want to build your own version of the container, the Dockerfile is available in the docker-src folder of this repo. Make sure to change the value in the 'container' element in ibridges_browse.xml to the appropriate value.
License
This project is licensed under the terms of the MIT License.
Owner
- Name: Utrecht University
- Login: UtrechtUniversity
- Kind: organization
- Email: info.rdm@uu.nl
- Location: Utrecht, The Netherlands
- Website: https://www.uu.nl
- Repositories: 85
- Profile: https://github.com/UtrechtUniversity
The central place for managing code and software for Utrecht University researchers and employees
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "My Research Software"
authors:
- family-names: Druskat
given-names: Stephan
orcid: https://orcid.org/1234-5678-9101-1121
version: 2.0.4
date-released: 2021-08-11
doi: 10.5281/zenodo.1234
license: Apache-2.0
repository-code: "https://github.com/citation-file-format/my-research-software"
GitHub Events
Total
- Issues event: 6
- Delete event: 4
- Issue comment event: 2
- Push event: 25
- Pull request event: 7
- Create event: 6
Last Year
- Issues event: 6
- Delete event: 4
- Issue comment event: 2
- Push event: 25
- Pull request event: 7
- Create event: 6
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 11
- Total pull requests: 13
- Average time to close issues: about 2 months
- Average time to close pull requests: 22 minutes
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.08
- Merged pull requests: 13
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 11
- Pull requests: 13
- Average time to close issues: about 2 months
- Average time to close pull requests: 22 minutes
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.08
- Merged pull requests: 13
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- maartenschermer (11)
Pull Request Authors
- maartenschermer (17)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- python 3.9 build
- flask *
- ibridges *