Any ideas on how to do this? I'm trying to obtain a list of datasets that
are in a Shared Data Library. I can obtain the Library ID and FolderIDs
using BioBlend. However, I now want to get a list of dataIDs from within
the Library/Folder structure. I don't see a function which accomplishes
this in BioBlend. The closest thing I could find is "show_folders" (under
"Libraries"). However, this seems to just provide information regarding the
folder and not its contents. Is there a way to list the contents of a
"Shared Data Folder"? There seems to be similar functionality for what I'm
after in "History" (e.g.  show_matching_datasets) but not for "Library".

Any help would be greatly appreciated!

On Fri, Feb 24, 2017 at 10:29 AM, D K <danielforti...@gmail.com> wrote:

> I'm trying to get a list of all the datasets in a folder using BioBlend. I
> don't see a function for doing this in the API documentation. I can use
> "show_folder" to get some information regarding the contents of a folder,
> but not the dataset IDs themselves
>
> This is as far as I've gotten:
>
> s = gi.libraries.show_folder(LibID, folder_id = subfolderID)
>>
> print(s)
>
>  {u'parent_library_id': u'd413a19dec13d11e', u'update_time':
>> u'2017-02-24T18:10:02.789955', u'description': 
>> u'170124_M02550_0174_000000000-AV8FJ',
>> u'name': u'170124_M02550_0174_000000000-AV8FJ', u'deleted': False,
>> u'item_count': 2, u'parent_id': u'Ff1b9846ab84237e7', u'genome_build':
>> u'?', u'model_class': u'LibraryFolder', u'id': u'F84ffe6fca6c4fbda',
>> u'library_path': [u'2017', u'170124_M02550_0174_000000000-AV8FJ']}
>
>
> There are two items (item_count) as expected, how do I get the actual
> dataset IDs?
>
> Thanks!
>
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to