weixin_39900206
weixin_39900206
2020-11-21 20:47

Download files in a list of datasets with the name from the list

Idea:

Download files in a list of datasets with the name from the list (Samplexyz.bam) as output instead of the name given by galaxy (Galaxy5-[Filter_SAM_or_BAM,_output_SAM_or_BAM_on_data_181__bam]).

Submitted by:

markus.ball via https://biostar.usegalaxy.org/p/16676/

该提问来源于开源项目:galaxyproject/galaxy

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

6条回答

  • weixin_39864453 weixin_39864453 5月前

    This is basically a duplicate of #2140 and related to #2346.

    My general suggestion would be name the files according to the element identifiers in the collection. However, when downloading, prefix the names with the name of the collection to provide context. This would be made even better if one could easily rename the collection in a workflow.

    点赞 评论 复制链接分享
  • weixin_39540271 weixin_39540271 5月前

    Okay - so currently the naming for downloaded datasets from the history panel when coming in through a collection is:

    <GalaxyDatasetHID>-[<name>].<extension>

    But it would be more usable if it was:

    <GalaxyDatasetCollectionName>-[<element_identifier>].<extension>?

    What about the HID of the collection - should that be included? (Currently the HID of the dataset is included - which is useless and really problematic that it even has an HID - see https://github.com/galaxyproject/galaxy/issues/1810).

    点赞 评论 复制链接分享
  • weixin_39864453 weixin_39864453 5月前

    At the moment, I'm voting for <GalaxyDatasetCollectionName>-[<element_identifier>].<extension>. Thanks .

    点赞 评论 复制链接分享
  • weixin_39623355 weixin_39623355 5月前

    Just wanted to comment on this. An important use case for us would be for the user to upload a collection of files, run some processing pipeline on them and download the result. We can preserve the element_identifier between processing steps, but then they can't download the resulting dataset. If they could, the filenames would have a useless (for us) prefix named for the dataset collection . Better would be to download this as a zip file with a directory structure, the directory could be the dataset name but the individual data files would be ..

    Perhaps the addition of the prefix could be optional in a download dialogue?

    点赞 评论 复制链接分享
  • weixin_39540271 weixin_39540271 5月前

    Indeed - this would be great. Thanks for the input!

    点赞 评论 复制链接分享
  • weixin_39540271 weixin_39540271 5月前

    Closing as a duplicate of #2140. Opened an issue based on 's comment above with #3984.

    点赞 评论 复制链接分享

相关推荐