Skip to content

A script to apply history tags to all the nodes of a subtree

License

Notifications You must be signed in to change notification settings

anuprulez/apply_history_tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

Propagate hashtags from root datasets to their children

It propagates hashtags from a root dataset to all its children. Before executing this script, make sure you have the Galaxy's API key and its instance running. You can execute this script using the following command:

python apply_tags.py <galaxy_ip> <galaxy_api_key> <history_id optional>

For example, python apply_tags.py "http://localhost:8080" "**********************" "f2db41e1fa331b3e" or python apply_tags.py "http://localhost:8080" "**********************" python apply_tags.py "https://usegalaxy.org" "**********************"

The last argument is history id (an optional one, the other arguments are mandatory). If not provided, the script will take up the most recently used history. At the start, the script shows which history it is working upon. Once it finishes, please refresh your Galaxy's instance to see the effect.

Dependencies

Bioblend (https://bioblend.readthedocs.io/en/latest/index.html)

Feature/Request

https://github.com/usegalaxy-eu/galaxy-freiburg/issues/132

About

A script to apply history tags to all the nodes of a subtree

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages