Generate manifest file for a given container

Description

From :

Hi — what I'm interested in is more for auditing purposes then necessarily for "sync"ing. What I would like is to generate a manifest for my Synapse container (project, folder, whatever) that tells me the paths and annotations for all files and sub-folders as they exist in Synapse. I don't want to download anything to get this information, as it should have nothing to do with my local filesystem.

This functionality might be better suited for generateManifest, but as far as I can tell that method requires a list of entity IDs and won't walk/crawl the directory structure for you like syncFromSynapse does.

Here's an example that sort of illustrates what I have in mind. I created this several months ago for a TCGA working group project using a custom Python script:
https://docs.google.com/spreadsheets/d/1DsKOfudrxW06zl__7pkbI_nLpBn9Z9cDJ40Gd6HcbFY/edit?usp=sharing

*note: could probably be better executed.

Environment

None

Activity

Show:
Kimyen Truong
June 6, 2018, 10:40 PM

After talking to about this, EntityBundle would have the information that he needs. So a function that walk the hierarchy and gather EntityBundle for entities under the container would be a possible solution. Notes that not all fields in an EntityBundle would fits nicely in a tsv format. We should have a `default mask` with all the things that fits in a tsv format, and allow users to get the result as list of EntityBundles instead of `tsv`.

Kenneth Daily
June 6, 2018, 4:16 PM

Looks super useful, +1 would love to know more about the uses of this.

Kimyen Truong
June 6, 2018, 12:54 AM

Thank you for sharing the google sheet, . They are very informative. And I have more questions about them.

Notes to self about entity path:

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

James Eddy

Validator

James Eddy