A utility service for managing protein folding tasks with AWS infrastructure support.
Kubefold Manager is a versatile utility designed to handle various aspects of protein folding workflows. It provides functionality for:
- Handling and validating input data
- Uploading prediction artifacts to S3
- Sending SMS notifications about task completion
Developed as part of the Kubefold project ecosystem for protein structure prediction.
The application is configured using the following environment variables:
INPUT_PATH: Directory path where input files are locatedOUTPUT_PATH: Directory path where output files are generated
ENCODED_INPUT: Base64-encoded JSON input data for folding tasks
BUCKET: S3 bucket name where artifacts will be uploaded
NOTIFICATION_PHONES: Comma-separated list of phone numbers to notifyNOTIFICATION_MESSAGE: Custom message to send in the notification
docker run -e INPUT_PATH=/data/input \
-e OUTPUT_PATH=/data/output \
-e BUCKET=my-result-bucket \
-v /local/input:/data/input \
-v /local/output:/data/output \
kubefold/managerFor S3 uploads and SNS notifications, the application uses the AWS SDK's default credential provider chain. Ensure appropriate AWS credentials are available through:
- Environment variables (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY) - AWS credentials file
- IAM roles for Amazon EC2 or ECS tasks
- Process and validate protein folding input data
- Upload prediction results to Amazon S3
- Send SMS notifications via Amazon SNS
- Containerized for easy deployment in cloud environments
git clone https://github.com/kubefold/manager.git
cd manager
go build -o manager ./cmd/main.go- kubefold/downloader: Utility for downloading protein databases