Data files that are stored on other cloud services, such as Amazon Web Services (AWS) or Google Cloud Storage (GCS), can be made available in a Gen3 data commons without moving the files. There are several technical details for individual cases, and thus, you will need to get in contact with CTDS/commons operator for further inquiries. Below we list some guidelines that should prepare for specific processes such as indexing and submission.
Consider required authorization controls for the data and how/where Gen3 will synchronize user authorization information. This information is important to communicate with CTDS/commons operators. Depending on your data access and authorization needs, there are some requirements and caveats to data organization in the buckets.
In order for Gen3 to make file objects available to researchers, globally unique identifiers (GUIDs) are minted per object and stored in Gen3. That process of minting GUIDs associated with specific file objects in buckets is generally achieved by providing Gen3 with a bucket manifest which contains the minimal file-level metadata required to mint a GUID. A bucket manifest as a TSV file has to contain the following properties at the minimum: checksum, file in bytes, and the full bucket . There are authorization columns “authz” and “acl” that can also be populated, though knowing what to populate these with will require communications with Gen3/commons operators.
Note: Gen3’s automation and deployment code contains scripts for GCS and AWS that can generate an object manifest of a bucket. Keep in mind that using these scripts requires using Gen3’s full deployment code and, depending on the amount of data, calculating checksums for files can be costly and take time.
Once Gen3 is provided a complete bucket manifest (with or without requested GUIDs), there is tooling available to index the bucket manifest into the system (this “indexing” process generates GUIDs if not yet existent). The Gen3 SDK contains tooling that can be used for this.
Note: Users in the Gen3-Community have published repos that index large pre-existing s3 buckets (disclaimer: CTDS is not responsible for the content and opinions on the third-party repos).
If applicable, submission files can be prepared for the Gen3 graph model as described on the data submission page or briefly described here. You can choose between two options: a) create a
core_metadata_collection entity, link it to the
data_file node, and submit your data files directly to the
data_file node. b) Create a structured chain of metadata according to the Gen3 graph model to obtain the link to the
data_file node. Then, you can submit the files to the