I am a Bioinformatics Engineer working closesly in the biotech company with the Bioinformatics team and the lab team. I am currently working on a metadata aggregation system, that would allow to combine all the data source into one database (DynamoDB) that could be used by all of the stakeholders. The current challenge that I have are the entrypoints - for skilled users familar with the terminal, I will have a CLI to ingest any sample manifests into my system, however I need to design a very minimal GUI for non-technical users i.e lab users. The sample manifest ingestion should simply be upload of the file of specific fromat (csv) to a dedicated location in S3 (does not have to be provided by the user). From there, my lambda function will pick up the event.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
From the design point of view I was thinking that maybe just have a minimal window with “browse files” option and then button to upload or exit. I would want to be able to distribute this program (python-based ideally) in a way, that regular users are used to - have an icon on the desktop (macbook-first solution), so they could click on it and initiate the upload. Given the fact that this would need to be uploaded to Amazon S3, I would need to be able to handle authentication. Another option could be to have a very simple web interface that would perform exactly same functionality, however I am not sure what type of security constraints or costs could it have versus an executable on the desktop. One of my ideas was to combine aws cognito as the authentication and have the app deployed via elastic beanstalk, so the security could be easily sorted and the aws connectivity with different services.
Can you analyse my user requirements, need to have somethign super simple, because we cannot commit many resources for long-term maintenance, and we need to consider costs, security and usability and user-friendliness, compatibility with Macbook ecosystem.
Can you respond by generating reports to cover all useful soutions to address my requirements, evaluates both of my ideas with supporting necessary python packages, documents alternative solutions if possible, with sketched architecture and user flow. It needs to have advantages and disadvantages highlighted.
Assistant
Certainly! Below is a comprehensive report analyzing your requirements and proposing several solutions for building a minimal, secure, and user-friendly metadata ingestion GUI for non-technical lab users in a biotech company.
🧬 Metadata Ingestion GUI Design Report
For Biotech Lab Users
🔍 Executive Summary
You are a Bioinformatics Engineer looking to build a lightweight GUI interface for lab personnel to upload CSV sample manifests into an S3 bucket. This will trigger a Lambda function that processes the manifest and stores it in DynamoDB. The system must be:
✅ Simple and intuitive for non-technical users
✅ Secure (especially with AWS credentials)
✅ Low-maintenance and cost-effective
✅ Deployable on macOS first
✅ Integratable with AWS infrastructure (S3, Lambda, Cognito)
This report evaluates two main approaches:
Desktop Application (Python + PyInstaller)
Web App (Flask + Elastic Beanstalk)
It also presents alternative ideas like Electron-based apps or internal portals.
1. Requirements Recap
Requirement
Description
User Type
Non-technical lab users
Upload Format
CSV file
Target
Amazon S3 bucket
Trigger
AWS Lambda event upon upload
Authentication
Secure AWS credential handling
Platform
MacBook-first (macOS compatibility)
Deployment
Minimal maintenance, easy distribution
Security
Must protect AWS credentials and ensure proper access control
A simple desktop application using Python's built-in tkinter UI toolkit. It allows users to select a CSV file, authenticate securely (via temporary credentials), and upload directly to S3. Built into a standalone executable using PyInstaller.
Architecture Sketch
User GUI (Tkinter) → Selects CSV → Authenticates via Cognito / STS → Uploads to S3 → S3 Event Triggers Lambda → Data Stored in DynamoDB
✅ Option B: Web Interface (Flask + Elastic Beanstalk)
Overview
A minimal Flask app hosted on AWS Elastic Beanstalk with Cognito authentication. Users open a browser, log in, and upload the CSV file via a simple form. The backend uploads to S3 and returns confirmation.
Given your constraints — limited resources, need for simplicity, macOS-first deployment, and AWS integration — the Python desktop GUI approach offers the best balance between usability, security, and maintainability.
A web-based solution would offer more flexibility and easier updates but at the cost of ongoing hosting and complexity.
9. Appendix: User Flow Diagram
+---------------------+
| Lab User (GUI) |
+----------+----------+
|
v
+----------+----------+
| Select CSV File |
+----------+----------+
|
v
+----------+----------+
| Authenticate (Cognito / STS) |
+----------+----------+
|
v
+----------+----------+
| Upload to S3 Bucket |
+----------+----------+
|
v
+----------+----------+
| S3 Event → Lambda → DynamoDB |
+----------------------+
Let me know if you'd like a template project structure, Dockerization strategy, or CI/CD pipeline suggestions for this setup!