Skip to content

Commit bdffc61

Browse files
authored
Merge pull request #48 from aws-solutions-library-samples/dev
v1.13.3 maintenance release
2 parents 903d58a + 7fbc110 commit bdffc61

File tree

12 files changed

+122
-810
lines changed

12 files changed

+122
-810
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ test.sh
1919
tests/data/
2020
data/*
2121
.scratch
22+
release.sh

.gitlab-ci.yml

Lines changed: 0 additions & 104 deletions
This file was deleted.

.taskcat.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
---
99

10+
## [1.13.3] - 2025-10-14
11+
12+
### 1.13.3 Updates
13+
14+
- Added region-specific deployment buttons to README.
15+
16+
### 1.13.3 Fixed
17+
18+
- Resolved container issues with AlphaFold2 and OpenFold
19+
20+
---
21+
1022
## [1.13.2] - 2025-09-10
1123

1224
### 1.13.2 Fixed
@@ -18,7 +30,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1830
- Fix multiple issues with ESMFold inference script
1931
- Fix issue with version of numpy in RFDiffusion ontainer
2032

21-
2233
---
2334

2435
## [1.13.1] - 2025-05-28

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
> [!IMPORTANT]
44
> The examples provided in this repository are for experimental and educational purposes only. They demonstrate concepts and techniques but are not intended for direct use in production environments.
55
6-
> [!IMPORTANT]
7-
> The CloudFormation templates included in this repository only support deployment to the us-east-1, and us-east-2, eu-west-1, eu-west-2, eu-central-1, and ap-southwest-1 regions. For additional options, please refer to the [Drug Discovery Workflows for AWS HealthOmics](https://github.com/aws-samples/drug-discovery-workflows) project.
8-
96
## Contents
107

118
1. [Overview](#1-overview)
@@ -46,11 +43,18 @@ This repository includes the CloudFormation template, Jupyter Notebook, and supp
4643

4744
## 2. Quick Start
4845

49-
NOTE: This procedure only supports the following AWS regions: eu-west-1, eu-west-2, eu-central-1, ap-southwest-1, us-east-1, and us-east-2
50-
5146
1. Choose **Launch Stack** and (if prompted) log into your AWS account:
52-
[![Launch Stack](imgs/LaunchStack.jpg)](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://aws-hcls-ml.s3.amazonaws.com/main/batch-protein-folding-cfn-packaged.yaml)
53-
2. For **Stack Name**, enter a value unique to your account and region. Leave the other parameters as their default values and select **Next**.
47+
48+
| Region | Launch URL |
49+
| ------ | ---------- |
50+
| eu-west-1 | [![Launch Stack](imgs/LaunchStack.jpg)](https://eu-west-1.console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://5d1a4b76751b4c8a994ce96bafd91ec9-eu-west-1.s3.amazonaws.com/main/batch-protein-folding-cfn-packaged.yaml) |
51+
| eu-west-2 | [![Launch Stack](imgs/LaunchStack.jpg)](https://eu-west-2.console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://5d1a4b76751b4c8a994ce96bafd91ec9-eu-west-2.s3.amazonaws.com/main/batch-protein-folding-cfn-packaged.yaml) |
52+
| eu-central-1 | [![Launch Stack](imgs/LaunchStack.jpg)](https://eu-central-1.console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://5d1a4b76751b4c8a994ce96bafd91ec9-eu-central-1.s3.amazonaws.com/main/batch-protein-folding-cfn-packaged.yaml) |
53+
| ap-southeast-1 | [![Launch Stack](imgs/LaunchStack.jpg)](https://ap-southeast-1.console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://5d1a4b76751b4c8a994ce96bafd91ec9-ap-southeast-1.s3.amazonaws.com/main/batch-protein-folding-cfn-packaged.yaml) |
54+
| us-east-1 | [![Launch Stack](imgs/LaunchStack.jpg)](https://us-east-1.console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://5d1a4b76751b4c8a994ce96bafd91ec9-us-east-1.s3.amazonaws.com/main/batch-protein-folding-cfn-packaged.yaml) |
55+
| us-west-2 | [![Launch Stack](imgs/LaunchStack.jpg)](https://us-west-2.console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://5d1a4b76751b4c8a994ce96bafd91ec9-us-west-2.s3.amazonaws.com/main/batch-protein-folding-cfn-packaged.yaml) |
56+
57+
2. For **Stack Name**, enter a value unique to your account and region. Also update the *DeploymentRegion** parameter with the name of your current AWS region. Leave the other parameters as their default values and select **Next**.
5458
![Provide a stack name](imgs/name.png)
5559
3. Select **I acknowledge that AWS CloudFormation might create IAM resources with custom names**.
5660
4. Choose **Create stack**.
@@ -109,10 +113,10 @@ Please visit [https://github.com/EddyRivasLab/hmmer](https://github.com/EddyRiva
109113

110114
### 4.2. AlphaFold
111115

112-
[Version 2.3.2](https://github.com/deepmind/alphafold/releases/tag/v2.3.2) from 4/5/2023.
113-
114116
Please visit [https://github.com/deepmind/alphafold](https://github.com/deepmind/alphafold) for more information about the AlphaFold2 algorithm.
115117

118+
Due to updates to the OpenMM module, GPU-accelerated relaxation is no longer available. All alphafold jobs now default to `use_gpu_relax=False`.
119+
116120
The original AlphaFold 2 citation is
117121

118122
```text

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ done
7373
[ -z "$CODE_REPO_S3_BUCKET_NAME" ] && { CODE_REPO_S3_BUCKET_NAME="5d1a4b76751b4c8a994ce96bafd91ec9"; }
7474

7575
zip -r code.zip * -x .\*/\* -x random_commands.sh -x analysis\* -x build\*
76-
aws s3 cp code.zip s3://$BUCKET_NAME/main/batch-protein-folding.zip
76+
aws s3 cp code.zip s3://${BUCKET_NAME}-${REGION}/main/batch-protein-folding.zip
7777
rm code.zip
7878

7979
aws cloudformation package --template-file infrastructure/cloudformation/batch-protein-folding-cfn-root.yaml --output-template infrastructure/cloudformation/batch-protein-folding-cfn-packaged.yaml --region $REGION --s3-bucket $BUCKET_NAME --s3-prefix cfn

infrastructure/cloudformation/batch-protein-folding-cfn-container.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Parameters:
1717
CodeRepoS3BucketName:
1818
Description: S3 Bucket Name to retrieve code zip
1919
Type: String
20-
Default: "aws-hcls-ml"
20+
Default: "5d1a4b76751b4c8a994ce96bafd91ec9-us-east-1"
2121
S3BucketARN:
2222
Description: S3 Bucket ARN
2323
Type: String

infrastructure/cloudformation/batch-protein-folding-cfn-root.yaml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ Description: >-
77
88
Parameters:
99
ApplicationName:
10+
Description: Name for your application stack
1011
Type: String
1112
Default: BatchProteinFolding
13+
DeploymentRegion:
14+
Description: AWS region name for deployment. If deploying using the AWS console, this should match the region currently selected in the header menu.
15+
Type: String
16+
AllowedValues: ["ap-southeast-1", "eu-central-1", "eu-west-1", "eu-west-2", "us-east-1", "us-west-2"]
1217
LaunchSageMakerNotebook:
1318
Type: String
1419
Default: Y
@@ -54,8 +59,8 @@ Parameters:
5459
Type: String
5560
Default: "N"
5661
AllowedValues: [Y, N]
57-
CodeRepoS3BucketName:
58-
Description: S3 Bucket Name to retrieve code .zip
62+
CodeRepoS3BucketRootName:
63+
Description: S3 Bucket root name. This will be appended with the region name and used to retrieve the code .zip archive for CodeBuild
5964
Type: String
6065
Default: "5d1a4b76751b4c8a994ce96bafd91ec9"
6166
CodeRepositoryURI:
@@ -66,6 +71,7 @@ Parameters:
6671
Description: Timestamp for the cfn deployment
6772
Type: Number
6873
Default: 9999999999
74+
6975

7076
Conditions:
7177
CreateFileSystem:
@@ -184,7 +190,7 @@ Resources:
184190
Ref: DownloadFsxData
185191
S3BucketARN:
186192
"Fn::GetAtt": BatchFoldS3Bucket.Arn
187-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
193+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
188194
Timestamp: !Ref Timestamp
189195

190196
BatchEnvironment:
@@ -371,7 +377,7 @@ Resources:
371377
Parameters:
372378
ApplicationName:
373379
Ref: ApplicationName
374-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
380+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
375381
CodeBuildEncryptionKey:
376382
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
377383
CodeBuildRoleArn:
@@ -390,7 +396,7 @@ Resources:
390396
Parameters:
391397
ApplicationName:
392398
Ref: ApplicationName
393-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
399+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
394400
CodeBuildEncryptionKey:
395401
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
396402
CodeBuildRoleArn:
@@ -409,7 +415,7 @@ Resources:
409415
Parameters:
410416
ApplicationName:
411417
Ref: ApplicationName
412-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
418+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
413419
CodeBuildEncryptionKey:
414420
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
415421
CodeBuildRoleArn:
@@ -428,7 +434,7 @@ Resources:
428434
Parameters:
429435
ApplicationName:
430436
Ref: ApplicationName
431-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
437+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
432438
CodeBuildEncryptionKey:
433439
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
434440
CodeBuildRoleArn:
@@ -447,7 +453,7 @@ Resources:
447453
Parameters:
448454
ApplicationName:
449455
Ref: ApplicationName
450-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
456+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
451457
CodeBuildEncryptionKey:
452458
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
453459
CodeBuildRoleArn:
@@ -466,7 +472,7 @@ Resources:
466472
Parameters:
467473
ApplicationName:
468474
Ref: ApplicationName
469-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
475+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
470476
CodeBuildEncryptionKey:
471477
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
472478
CodeBuildRoleArn:
@@ -485,7 +491,7 @@ Resources:
485491
Parameters:
486492
ApplicationName:
487493
Ref: ApplicationName
488-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
494+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
489495
CodeBuildEncryptionKey:
490496
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
491497
CodeBuildRoleArn:
@@ -504,7 +510,7 @@ Resources:
504510
Parameters:
505511
ApplicationName:
506512
Ref: ApplicationName
507-
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketName}-${AWS::Region}"
513+
CodeRepoS3BucketName: !Sub "${CodeRepoS3BucketRootName}-${DeploymentRegion}"
508514
CodeBuildEncryptionKey:
509515
"Fn::GetAtt": Container.Outputs.CodeBuildEncryptionKey
510516
CodeBuildRoleArn:

0 commit comments

Comments
 (0)