nadeemlab / SPT

Spatial profiling toolbox for spatial characterization of tumor immune microenvironment in multiplex images
https://oncopathtk.org
Other
21 stars 2 forks source link

Adjust import workflow configuration to support S3 #357

Closed jimmymathews closed 2 months ago

jimmymathews commented 2 months ago

The result is that the Nextflow procedure to import a curated dataset into the database pretty much works as-is when the source files come from a folder in an S3 bucket, rather than from a local directory.

Note that Nextflow does support S3 "out of the box", but a subtlety is that it does not support the session-specific tokens that we have been using in the shell environment. Instead, in the session-specific case one must use the credentials from a user profile, and one must not allow Nextflow to try guessing credentials environment variables, because it will fail with a misleading error.