Skip to content

Commit ea4be93

Browse files
author
imilev
committed
Added high-level diagrams
1 parent ea0f68b commit ea4be93

File tree

8 files changed

+1852
-0
lines changed

8 files changed

+1852
-0
lines changed
Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
```mermaid
2+
3+
graph LR
4+
5+
Command_Line_Interface_CLI_["Command-Line Interface (CLI)"]
6+
7+
Data_Input_Output_I_O_["Data Input/Output (I/O)"]
8+
9+
Core_Processing_Engine["Core Processing Engine"]
10+
11+
Data_Models_Utilities["Data Models & Utilities"]
12+
13+
Visualization_Layer["Visualization Layer"]
14+
15+
Configuration_Error_Handling["Configuration & Error Handling"]
16+
17+
Command_Line_Interface_CLI_ -- "Initiates Operations" --> Core_Processing_Engine
18+
19+
Command_Line_Interface_CLI_ -- "Directs Data Flow" --> Data_Input_Output_I_O_
20+
21+
Data_Input_Output_I_O_ -- "Provides Data To" --> Core_Processing_Engine
22+
23+
Core_Processing_Engine -- "Processes Data From" --> Data_Input_Output_I_O_
24+
25+
Core_Processing_Engine -- "Utilizes" --> Data_Models_Utilities
26+
27+
Data_Models_Utilities -- "Defines Structure For" --> Core_Processing_Engine
28+
29+
Visualization_Layer -- "Renders Data From" --> Core_Processing_Engine
30+
31+
Visualization_Layer -- "Outputs Via" --> Data_Input_Output_I_O_
32+
33+
Configuration_Error_Handling -- "Informs" --> Command_Line_Interface_CLI_
34+
35+
Configuration_Error_Handling -- "Influences" --> Core_Processing_Engine
36+
37+
click Command_Line_Interface_CLI_ href "https://github.com/deeptools/deeptools/blob/master/.codeboarding//Command_Line_Interface_CLI_.md" "Details"
38+
39+
```
40+
41+
42+
43+
[![CodeBoarding](https://img.shields.io/badge/Generated%20by-CodeBoarding-9cf?style=flat-square)](https://github.com/CodeBoarding/GeneratedOnBoardings)[![Demo](https://img.shields.io/badge/Try%20our-Demo-blue?style=flat-square)](https://www.codeboarding.org/demo)[![Contact](https://img.shields.io/badge/Contact%20us%20-%[email protected]?style=flat-square)](mailto:[email protected])
44+
45+
46+
47+
## Details
48+
49+
50+
51+
One paragraph explaining the functionality which is represented by this graph. What the main flow is and what is its purpose.
52+
53+
54+
55+
### Command-Line Interface (CLI) [[Expand]](./Command_Line_Interface_CLI_.md)
56+
57+
The user-facing layer that interprets commands, validates parameters, and orchestrates the execution of specific deeptools functionalities. It's the gateway for users to interact with the entire suite.
58+
59+
60+
61+
62+
63+
**Related Classes/Methods**:
64+
65+
66+
67+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/parserCommon.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.parserCommon` (1:1)</a>
68+
69+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/bamCompare.py#L233-L309" target="_blank" rel="noopener noreferrer">`deeptools.bamCompare.main` (233:309)</a>
70+
71+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/plotHeatmap.py#L807-L892" target="_blank" rel="noopener noreferrer">`deeptools.plotHeatmap.main` (807:892)</a>
72+
73+
74+
75+
76+
77+
### Data Input/Output (I/O)
78+
79+
Manages the reading and writing of various bioinformatics file formats (e.g., BAM, BigWig, BED, GTF). It abstracts the complexities of file handling and ensures data can be ingested and exported correctly.
80+
81+
82+
83+
84+
85+
**Related Classes/Methods**:
86+
87+
88+
89+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/bamHandler.py#L46-L102" target="_blank" rel="noopener noreferrer">`deeptools.bamHandler.openBam` (46:102)</a>
90+
91+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/writeBedGraph_bam_and_bw.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.writeBedGraph_bam_and_bw.writeBedGraph_bam_and_bw` (1:1)</a>
92+
93+
94+
95+
96+
97+
### Core Processing Engine
98+
99+
Contains the primary algorithms and computational logic for performing bioinformatics analyses, such as read counting, coverage calculation, data normalization, and statistical comparisons. This is where the core scientific computations occur.
100+
101+
102+
103+
104+
105+
**Related Classes/Methods**:
106+
107+
108+
109+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/countReadsPerBin.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.countReadsPerBin` (1:1)</a>
110+
111+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/bamCoverage.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.bamCoverage` (1:1)</a>
112+
113+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/bamCompare.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.bamCompare` (1:1)</a>
114+
115+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/computeMatrix.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.computeMatrix` (1:1)</a>
116+
117+
118+
119+
120+
121+
### Data Models & Utilities
122+
123+
Defines standardized data structures for genomic intervals, read alignments, and coverage profiles, and provides a collection of general-purpose helper functions for common genomic operations, data manipulation, and statistical calculations.
124+
125+
126+
127+
128+
129+
**Related Classes/Methods**:
130+
131+
132+
133+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/utilities.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.utilities` (1:1)</a>
134+
135+
136+
137+
138+
139+
### Visualization Layer
140+
141+
Responsible for generating high-quality plots and visual representations of processed genomic data, such as heatmaps, profile plots, and coverage tracks. It transforms numerical results into interpretable graphical insights.
142+
143+
144+
145+
146+
147+
**Related Classes/Methods**:
148+
149+
150+
151+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/plotHeatmap.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.plotHeatmap` (1:1)</a>
152+
153+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/plotProfile.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.plotProfile` (1:1)</a>
154+
155+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/heatmapper.py#L176-L1058" target="_blank" rel="noopener noreferrer">`deeptools.heatmapper` (176:1058)</a>
156+
157+
158+
159+
160+
161+
### Configuration & Error Handling
162+
163+
Manages application-wide settings, default parameters, and user-defined preferences, ensuring consistent behavior. It also centralizes error and exception handling to provide robust and informative feedback.
164+
165+
166+
167+
168+
169+
**Related Classes/Methods**:
170+
171+
172+
173+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/utilities.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.utilities.get_config_args` (1:1)</a>
174+
175+
- <a href="https://github.com/deeptools/deeptools/blob/master/deeptools/utilities.py#L1-L1" target="_blank" rel="noopener noreferrer">`deeptools.utilities.SmartException` (1:1)</a>
176+
177+
178+
179+
180+
181+
182+
183+
184+
185+
### [FAQ](https://github.com/CodeBoarding/GeneratedOnBoardings/tree/main?tab=readme-ov-file#faq)

0 commit comments

Comments
 (0)