Galaxy: multiple selected files actions

Created on 20 Nov 2015  路  6Comments  路  Source: galaxyproject/galaxy

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

For example:

  • [ ] download multiple files at once https://github.com/galaxyproject/galaxy/issues/6536
  • [ ] change file type for multiple files
  • [ ] assign dbkey for multiple files (not sure if other metadata values make sense here)
  • [ ] copy selected to other/new history - possibly alias this to multi-history view
areUI-UX feature-request kinenhancement statuplanning

Most helpful comment

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 ...

All 6 comments

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

added assign dbkey

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)

Updated to add @jennaj's original copy datasets request

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')

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 ...

Was this page helpful?
0 / 5 - 0 ratings