nf-osi / jobs

0 stars 0 forks source link

Update `new_project` job to add annotations to created dataset folders #50

Closed anngvu closed 1 year ago

anngvu commented 1 year ago

This helps achieves several things in the short term and long term:

  1. Per internal thread, this will help DCA pick up on the folders which should be surfaced so they don't have to do custom fixes for us. The bound schema materializes contentType = dataset on those folders. The bound schema is inherited automatically by child folders.
  2. The assay annotation is put directly on newly created dataset folders. This can help with future functionality: In the DCA or elsewhere, it can be used to more clearly detect which template should be used. If a Synapse dataset is created from the contents, the assay annotation can also be used for the dataset.
anngvu commented 1 year ago

Automate:

(Will consider risk of incorrect files being uploaded to folder)

allaway commented 1 year ago

@jaybee84 , we are going to automatically annotate 'assay' using the derived annotations feature based on the folder they are uploaded to. Just want to confirm that this will work with projectLive, as project live might use this key to determine if a file is minimally annotated or not? Or was that resourceType, dataType, something else?

jaybee84 commented 1 year ago

Yep. this should work for projectLive. It uses assay to determine whether a file is labeled annotated