Nicolas Vannieuwkerke
06/11/2024, 9:43 AMBen Sherman
06/11/2024, 1:01 PMBen Sherman
06/11/2024, 1:02 PMNicolas Vannieuwkerke
06/11/2024, 1:03 PMnf-amazon plugin to easily get the resource URL of an s3 PathBen Sherman
06/11/2024, 1:04 PMPath interface and Nextflow should resolve it for youJorge
06/11/2024, 1:04 PMNicolas Vannieuwkerke
06/11/2024, 1:06 PMPath interface didn't have the functionality to get the resource URL. I had to create an AmazonS3 object and use it to get the resource URL like this:
s3Client.getResourceUrl(destPath.bucket, destPath.key)Nicolas Vannieuwkerke
06/11/2024, 1:07 PMPath interface in this case 😛Ben Sherman
06/11/2024, 1:10 PMNicolas Vannieuwkerke
06/11/2024, 1:12 PM<s3://test/file.txt> can also be noted as <https://test.s3.amazonaws.com/file.txt> or some other variant dependent on the S3 hostBen Sherman
06/11/2024, 1:13 PMNicolas Vannieuwkerke
06/11/2024, 1:16 PMnf-amazon plugin so I don't have to redo the configuration setup etc 🙂Ben Sherman
06/11/2024, 2:07 PMNicolas Vannieuwkerke
06/11/2024, 2:09 PMNicolas Vannieuwkerke
06/11/2024, 2:12 PMBen Sherman
06/11/2024, 2:15 PMNicolas Vannieuwkerke
06/11/2024, 2:17 PMNicolas Vannieuwkerke
06/11/2024, 2:18 PM