LDolanLDolan commited on
Commit
c1e3097
Β·
1 Parent(s): 7711248

Add professional README with badges and documentation

Browse files
Files changed (1) hide show
  1. README.md +360 -10
README.md CHANGED
@@ -1,12 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
- title: Gene2Text
3
- emoji: πŸŒ–
4
- colorFrom: gray
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 5.38.0
8
- app_file: app.py
9
- pinned: false
10
- ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
1
+ \# 🧬 Gene2Text: Interpretable Codon-by-Codon Describer
2
+
3
+
4
+
5
+ \[!\[Live Demo](https://img.shields.io/badge/πŸš€\_Live\_Demo-Gene2Text-blue?style=for-the-badge)](https://huggingface.co/spaces/LDolan/Gene2Text)
6
+
7
+ \[!\[Hugging Face Spaces](https://img.shields.io/badge/πŸ€—\_Hugging\_Face-Spaces-yellow?style=for-the-badge)](https://huggingface.co/spaces/LDolan/Gene2Text)
8
+
9
+ \[!\[GitHub](https://img.shields.io/badge/GitHub-Repository-green?style=for-the-badge\&logo=github)](https://github.com/LDolan/gene2text)
10
+
11
+ \[!\[Python](https://img.shields.io/badge/Python-3.8+-blue?style=for-the-badge\&logo=python)](https://www.python.org/)
12
+
13
+ \[!\[Gradio](https://img.shields.io/badge/Gradio-Latest-orange?style=for-the-badge)](https://gradio.app/)
14
+
15
+ \[!\[License: MIT](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](https://opensource.org/licenses/MIT)
16
+
17
+
18
+
19
+ \*\*Transform DNA sequences into readable explanations with AI-powered biological insights!\*\*
20
+
21
+
22
+
23
+ > 🎯 \*\*Perfect for students, teachers, researchers, and anyone curious about how DNA codes for life\*\*
24
+
25
+
26
+
27
+ \## 🌟 What It Does
28
+
29
+
30
+
31
+ Gene2Text takes raw DNA sequences (like `ATGCGTAAA`) and explains each codon in plain English:
32
+
33
+
34
+
35
+ ```
36
+
37
+ πŸš€ Codon 1: ATG β†’ Methionine
38
+
39
+   πŸ’‘ The universal start codon - where protein synthesis begins
40
+
41
+
42
+
43
+ πŸ”€ Codon 2: CGT β†’ Arginine
44
+
45
+   πŸ’‘ Positively charged amino acid - important for protein-DNA interactions
46
+
47
+
48
+
49
+ πŸ›‘ Codon 3: TAA β†’ STOP
50
+
51
+   πŸ’‘ Amber stop codon - signals end of protein synthesis
52
+
53
+ ```
54
+
55
+
56
+
57
+ \## ✨ Key Features
58
+
59
+
60
+
61
+ \- 🧬 \*\*Complete Genetic Code\*\*: All 64 codons with biological context
62
+
63
+ \- πŸ“š \*\*Educational Descriptions\*\*: Learn what each amino acid does
64
+
65
+ \- πŸ”„ \*\*Multiple Reading Frames\*\*: Analyze DNA in all 3 possible reading frames
66
+
67
+ \- πŸ§ͺ \*\*Real Examples\*\*: Pre-loaded sequences from insulin, hemoglobin, and GFP
68
+
69
+ \- 🎨 \*\*Clean Interface\*\*: Simple, educational design perfect for classrooms
70
+
71
+ \- ⚑ \*\*Error Handling\*\*: Automatically cleans and validates input sequences
72
+
73
+ \- πŸ“± \*\*Mobile Friendly\*\*: Works on any device
74
+
75
+
76
+
77
+ \## πŸš€ Try It Now!
78
+
79
+
80
+
81
+ \*\*πŸ‘‰ \[Launch Gene2Text](https://huggingface.co/spaces/LDolan/Gene2Text) πŸ‘ˆ\*\*
82
+
83
+
84
+
85
+ \## πŸŽ“ Perfect For
86
+
87
+
88
+
89
+ | User Type | Use Case |
90
+
91
+ |-----------|----------|
92
+
93
+ | πŸŽ“ \*\*Students\*\* | Learning molecular biology and genetics |
94
+
95
+ | πŸ‘©β€πŸ« \*\*Teachers\*\* | Explaining the genetic code in classrooms |
96
+
97
+ | πŸ”¬ \*\*Researchers\*\* | Quickly interpreting DNA sequences |
98
+
99
+ | πŸ’» \*\*Bioinformatics Beginners\*\* | Understanding sequence analysis |
100
+
101
+ | πŸ€” \*\*Curious Minds\*\* | Discovering how DNA codes for proteins |
102
+
103
+
104
+
105
+ \## πŸ“– How to Use
106
+
107
+
108
+
109
+ 1\. \*\*Enter a DNA sequence\*\* or select an example
110
+
111
+ 2\. \*\*Choose a reading frame\*\* (0, 1, or 2)
112
+
113
+ 3\. \*\*Toggle detailed descriptions\*\* for more biological context
114
+
115
+ 4\. \*\*Click "Analyze Sequence"\*\* to see the results!
116
+
117
+
118
+
119
+ \### Example Sequences Included
120
+
121
+
122
+
123
+ \- \*\*Basic Example\*\*: `ATG GCT TAA` (start, alanine, stop)
124
+
125
+ \- \*\*Insulin Gene\*\*: Partial sequence from human insulin
126
+
127
+ \- \*\*Beta-globin\*\*: From hemoglobin protein
128
+
129
+ \- \*\*Green Fluorescent Protein\*\*: From jellyfish GFP
130
+
131
+
132
+
133
+ \## πŸ› οΈ Technology Stack
134
+
135
+
136
+
137
+ \- \*\*Frontend\*\*: \[Gradio](https://gradio.app/) - Modern web interface
138
+
139
+ \- \*\*Backend\*\*: Pure Python with complete genetic code
140
+
141
+ \- \*\*Data\*\*: Standard genetic code table with biological annotations
142
+
143
+ \- \*\*Deployment\*\*: \[Hugging Face Spaces](https://huggingface.co/spaces)
144
+
145
+ \- \*\*Version Control\*\*: Git \& GitHub
146
+
147
+
148
+
149
+ \## πŸ—οΈ Project Structure
150
+
151
+
152
+
153
+ ```
154
+
155
+ gene2text/
156
+
157
+ β”œβ”€β”€ app.py # Main Gradio interface
158
+
159
+ β”œβ”€β”€ codon\_table.py # Complete genetic code + translation logic
160
+
161
+ β”œβ”€β”€ requirements.txt # Python dependencies
162
+
163
+ └── README.md # This file
164
+
165
+ ```
166
+
167
+
168
+
169
+ \## 🧬 The Science Behind It
170
+
171
+
172
+
173
+ \### Central Dogma: DNA β†’ RNA β†’ Protein
174
+
175
+
176
+
177
+ 1\. \*\*DNA\*\* stores genetic information in 4-letter code (A, T, G, C)
178
+
179
+ 2\. \*\*Codons\*\* are 3-letter "words" that specify amino acids
180
+
181
+ 3\. \*\*Proteins\*\* are built from chains of amino acids
182
+
183
+ 4\. \*\*Reading Frames\*\* matter - shifting by 1 nucleotide changes everything!
184
+
185
+
186
+
187
+ \### Special Codons
188
+
189
+
190
+
191
+ \- πŸš€ \*\*Start Codon (ATG)\*\*: Methionine - where translation begins
192
+
193
+ \- πŸ›‘ \*\*Stop Codons (TAA, TAG, TGA)\*\*: Signal end of protein
194
+
195
+ \- πŸ”€ \*\*Regular Codons\*\*: 61 codons coding for 20 amino acids
196
+
197
+
198
+
199
+ \## πŸš€ Run Locally
200
+
201
+
202
+
203
+ ```bash
204
+
205
+ \# Clone the repository
206
+
207
+ git clone https://github.com/LDolan/gene2text.git
208
+
209
+ cd gene2text
210
+
211
+
212
+
213
+ \# Install dependencies
214
+
215
+ pip install -r requirements.txt
216
+
217
+
218
+
219
+ \# Run the app
220
+
221
+ python app.py
222
+
223
+ ```
224
+
225
+
226
+
227
+ Then open `http://localhost:7860` in your browser.
228
+
229
+
230
+
231
+ \## 🎨 Customization Ideas
232
+
233
+
234
+
235
+ Want to extend Gene2Text? Here are some ideas:
236
+
237
+
238
+
239
+ \- πŸ”„ \*\*Reverse translation\*\*: Protein sequence β†’ possible DNA sequences
240
+
241
+ \- πŸ“Š \*\*Codon usage bias\*\*: Show organism-specific preferences
242
+
243
+ \- πŸ§ͺ \*\*Mutation analysis\*\*: Compare wild-type vs mutant sequences
244
+
245
+ \- πŸ“ˆ \*\*Visualization\*\*: Generate codon wheel or amino acid property charts
246
+
247
+ \- 🌍 \*\*Multiple organisms\*\*: Support mitochondrial or bacterial codes
248
+
249
+
250
+
251
+ \## πŸ“š Educational Applications
252
+
253
+
254
+
255
+ \### In the Classroom
256
+
257
+ \- \*\*Introductory Biology\*\*: Demonstrate genetic code basics
258
+
259
+ \- \*\*Molecular Biology\*\*: Explore translation mechanisms
260
+
261
+ \- \*\*Bioinformatics\*\*: Learn sequence analysis fundamentals
262
+
263
+ \- \*\*Genetics\*\*: Understand mutation effects
264
+
265
+
266
+
267
+ \### For Self-Learning
268
+
269
+ \- Experiment with real gene sequences
270
+
271
+ \- Compare sequences from different organisms
272
+
273
+ \- Understand how mutations affect proteins
274
+
275
+ \- Learn amino acid properties and functions
276
+
277
+
278
+
279
+ \## πŸ”¬ Real-World Applications
280
+
281
+
282
+
283
+ Understanding DNA sequences is crucial for:
284
+
285
+
286
+
287
+ \- \*\*Medical Genetics\*\*: Diagnosing genetic diseases
288
+
289
+ \- \*\*Drug Development\*\*: Designing protein-based therapeutics
290
+
291
+ \- \*\*Biotechnology\*\*: Engineering proteins for industry
292
+
293
+ \- \*\*Evolution\*\*: Comparing species and tracking changes
294
+
295
+ \- \*\*Forensics\*\*: DNA fingerprinting and identification
296
+
297
+
298
+
299
+ \## 🀝 Contributing
300
+
301
+
302
+
303
+ Contributions welcome! Feel free to:
304
+
305
+
306
+
307
+ \- πŸ› Report bugs or issues
308
+
309
+ \- πŸ’‘ Suggest new features
310
+
311
+ \- πŸ“š Add new example sequences
312
+
313
+ \- 🎨 Improve the user interface
314
+
315
+ \- πŸ“– Enhance documentation
316
+
317
+
318
+
319
+ \## πŸ“„ License
320
+
321
+
322
+
323
+ This project is licensed under the MIT License - see the \[LICENSE](LICENSE) file for details.
324
+
325
+
326
+
327
+ \## πŸ™ Acknowledgments
328
+
329
+
330
+
331
+ \- Built with \[Gradio](https://gradio.app) for the amazing web interface framework
332
+
333
+ \- Deployed on \[Hugging Face Spaces](https://huggingface.co/spaces) for free hosting
334
+
335
+ \- Inspired by the need for accessible bioinformatics education
336
+
337
+ \- Genetic code based on the universal standard genetic code
338
+
339
+
340
+
341
+ \## πŸ“ž Contact \& Support
342
+
343
+
344
+
345
+ \- 🌐 \*\*Live Demo\*\*: \[Gene2Text on Hugging Face](https://huggingface.co/spaces/LDolan/Gene2Text)
346
+
347
+ \- πŸ“§ \*\*GitHub Issues\*\*: \[Report bugs or request features](https://github.com/LDolan/gene2text/issues)
348
+
349
+ \- πŸ’¬ \*\*Discussions\*\*: \[Join the conversation](https://github.com/LDolan/gene2text/discussions)
350
+
351
+
352
+
353
  ---
 
 
 
 
 
 
 
 
 
354
 
355
+
356
+
357
+ \*\*Made with ❀️ for biology education\*\* | Helping make molecular biology accessible to everyone!
358
+
359
+
360
+
361
+ !\[Gene2Text Demo](https://via.placeholder.com/800x400/1f2937/white?text=🧬+Gene2Text+Demo+🧬)
362
+