galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.41k stars 1.01k forks source link

multiple selected files actions #1136

Open bgruening opened 8 years ago

bgruening commented 8 years ago

It would be nice to offer more options for multiple selected files.

For example:

martenson commented 8 years ago

As an inspiration for downloading multiple files at once there is a method in data libraries API controller.

blankenberg commented 8 years ago

added assign dbkey

carlfeberhard commented 8 years ago

And the API functionality needed behind the UI scenes to do these, no?

(For cross-referencing: https://trello.com/c/0qbAqedV/1519-ui-add-operations-to-multi-select)

carlfeberhard commented 8 years ago

Updated to add @jennaj's original copy datasets request

mblue9 commented 6 years ago

assign dbkey for multiple files (not sure if other metadata values make sense here)

Being able to change the dbkey for multiple selected files would be super useful for us!

As we have a bit of an awkward situation where the fastqs import with the metadata from the sequencing LIMS and if they are hg19/mm9 but users want to run with hg38/mm10 I have to do below (although maybe there's a better way?): 1) Load their dataset into a history 2) Use bioblend to find the ID of the history

gi = galaxy.GalaxyInstance(url=server, key=api)
gi.histories.get_histories()

3) Change the dbkeys for their fastqs

for fastq in gi.histories.show_history('7f05726748cabfc4')['state_ids']['ok']:
print(fastq)
gi.histories.update_dataset('7f05726748cabfc4', fastq, genome_build='hg38')
mvdbeek commented 6 years ago

Being able to change the dbkey for multiple selected files would be super useful for us!

Now that we're leaning towards copying HDAs when creating collections we could have another framework tool that copies the HDA and sets the dbkey (and perhaps even the datatype ...). And why not kick off that tool form from the multiple select button ...