bgruening / galaxy_ie_helpers

Helper scripts to work with Galaxy's Interactive Environments
MIT License
0 stars 6 forks source link

Find matching history items in notebooks #7

Closed mtekman closed 4 years ago

mtekman commented 4 years ago

Added find_matching_history_ids function which can be used to find datasets in a history matching regex pattern(s). These can then be fed into the get function. This should allow notebooks to be more flexible in how they import data especially with respect to workflows.

@bgruening is this function automatically exported?

mtekman commented 4 years ago

Future reference (to me), to test locally:

conda create -n gie pip
conda activate gie
pip install git+https://github.com/mtekman/galaxy_ie_helpers.git 
GALAXY_URL=https://usegalaxy.eu HISTORY_ID=424b38f7b103b91f API_KEY=[blahblahblah] 

~/miniconda3/envs/gie/bin/get -i ".*annotation.*" -t regex
> ['/import/3', '/import/7']
mtekman commented 4 years ago

@bgruening this looks like it works fine

bgruening commented 4 years ago

Thanks.