How fixfoul1/dna-aiagent works
This is a DNA mutation-analysis application with a Streamlit dashboard and a separate command-line Gemini agent. The main workflow accepts reference and sample sequences, asks Gemini to orchestrate deterministic bioinformatics tools, then displays sequence metrics and an explanatory report. The toolkit covers GC content, reverse complements, translation, and global-alignment mutation classification. Source excerpts show the dashboard’s tool setup and calls; the README documents the broader capabilities. The CLI is a separate entry point.
Main entry points: app.py Streamlit dashboard · agent.py Command-line agent · dna_tools.py GC content
Components 10
User interfaces
- Streamlit dashboard
app.py - Metrics and report
app.py - Command-line agent
agent.py
DNA analysis
- GC content
dna_tools.py - Reverse complement
dna_tools.py - DNA translation
dna_tools.py - Global alignment mutations
dna_tools.py
Other components
- User
- Gemini API
- Biopython
Connections 18
- User → Streamlit dashboard: enters sequences
app.py - Streamlit dashboard → Gemini API: sends query
app.py - Streamlit dashboard → GC content: calculates metrics
app.py - Streamlit dashboard → Reverse complement: offers tool
app.py - Streamlit dashboard → DNA translation: offers tool
app.py - Streamlit dashboard → Global alignment mutations: offers tool
app.py - Gemini API → Streamlit dashboard: returns response
app.py - Streamlit dashboard → Metrics and report: renders results
app.py - User → Command-line agent: provides prompt
agent.py - Command-line agent → Gemini API: sends prompt
agent.py - Command-line agent → GC content: offers tool
agent.py - Command-line agent → Reverse complement: offers tool
agent.py - Command-line agent → DNA translation: offers tool
agent.py - Command-line agent → Global alignment mutations: offers tool
agent.py - GC content → Biopython: uses Seq
dna_tools.py - Reverse complement → Biopython: uses Seq
dna_tools.py - DNA translation → Biopython: uses Seq
dna_tools.py - Global alignment mutations → Biopython: uses aligner
dna_tools.py