Klepac-Ceraj-Lab / biobakery-nextflow

2 stars 1 forks source link

Add support for custom aws user #3

Open Hugemiler opened 7 months ago

Hugemiler commented 7 months ago

I noticed that the workflow expects the existence of a [default] user profile in .aws/credentials and .aws/config, and that that user be the one with access to the aws batch serializer. I did not manage to find a way to specify a different aws user profile. We should be able to expose an argumetn somewhere to allow th user to specify an aws profile, to be used with the aws --profile $user_profile syntax.

kescobo commented 7 months ago

Do you have a specific need for this?

You could look here for documentation: https://www.nextflow.io/docs/latest/aws.html#aws-batch

All things are possible with a turing complete language, but I don't have any idea if nextflow makes this easy.