# navneet-kumar-bhaskar/cs-ai-bio-lab architecture

> Architecture diagram of the GitHub repository navneet-kumar-bhaskar/cs-ai-bio-lab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/navneet-kumar-bhaskar/cs-ai-bio-lab
- Repository: https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab

## Overview

A small interactive DNA sequence analyzer: the user enters a sequence, the program checks that it is nonempty and contains only A/T/C/G, then counts each nucleotide and prints the counts. All stages are implemented in the single sampled script; no separate storage or integrations are shown.

Main entry points: [`1.DNA-Seq_Ana.py`](https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab/blob/main/1.DNA-Seq_Ana.py) (Validate Sequence)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_validation["Validate Sequence<br/>[1.DNA-Seq_Ana.py]"]
node_counting["Count Nucleotides<br/>[1.DNA-Seq_Ana.py]"]
node_report["Print Counts<br/>[1.DNA-Seq_Ana.py]"]
node_console["Console"]

node_user -->|"enters sequence"| node_validation
node_validation -->|"valid sequence"| node_counting
node_counting -->|"provides counts"| node_report
node_report -->|"prints results"| node_console

click node_validation "https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab/blob/main/1.DNA-Seq_Ana.py"
click node_counting "https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab/blob/main/1.DNA-Seq_Ana.py"
click node_report "https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab/blob/main/1.DNA-Seq_Ana.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_validation,node_counting,node_report toneTeal
class node_console toneIndigo
```

## Components

### Other components

- **User**
- [Validate Sequence](https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab/blob/main/1.DNA-Seq_Ana.py): `1.DNA-Seq_Ana.py`
- [Count Nucleotides](https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab/blob/main/1.DNA-Seq_Ana.py): `1.DNA-Seq_Ana.py`
- [Print Counts](https://github.com/navneet-kumar-bhaskar/cs-ai-bio-lab/blob/main/1.DNA-Seq_Ana.py): `1.DNA-Seq_Ana.py`
- **Console**

## Connections

- User → Validate Sequence: enters sequence
- Validate Sequence → Count Nucleotides: valid sequence
- Count Nucleotides → Print Counts: provides counts
- Print Counts → Console: prints results
