dnasight 1.6.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
dnasight-1.6.5/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 emilywinther
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,82 @@
1
+ Metadata-Version: 2.4
2
+ Name: dnasight
3
+ Version: 1.6.5
4
+ Summary: DNAsight
5
+ Author-email: Emily Winther Sørensen <es@chem.ku.dk>, "Julius B. Kirkegaard" <juki@di.ku.dk>
6
+ License-Expression: GPL-3.0-or-later
7
+ Project-URL: Homepage, https://github.com/emilywinther/dnasight
8
+ Project-URL: Repository, https://github.com/emilywinther/dnasight
9
+ Project-URL: Issues, https://github.com/emilywinther/dnasight/issues
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: roifile
14
+ Requires-Dist: scikit-image
15
+ Requires-Dist: scipy
16
+ Requires-Dist: tifffile
17
+ Requires-Dist: numpy
18
+ Requires-Dist: opencv-python-headless
19
+ Requires-Dist: matplotlib
20
+ Requires-Dist: pandas
21
+ Requires-Dist: tqdm
22
+ Requires-Dist: torch
23
+ Requires-Dist: torchvision
24
+ Requires-Dist: albumentations
25
+ Requires-Dist: imagecodecs
26
+ Requires-Dist: scikit-learn
27
+ Requires-Dist: numba
28
+ Requires-Dist: mahotas
29
+ Requires-Dist: dearpygui
30
+ Requires-Dist: trackpy
31
+ Requires-Dist: pyinstaller
32
+ Requires-Dist: certifi
33
+ Dynamic: license-file
34
+
35
+ # DNAsight
36
+ Code for DNA and cluster segmentation
37
+
38
+ To train a model run e.g.
39
+ ```
40
+ python dnasight-cmd.py train --folder "data_location1/" "data_location2/" --save_dir model/ --save_plots
41
+ ```
42
+
43
+ Examples:
44
+
45
+
46
+ GAF:
47
+ ```
48
+ python dnasight-cmd.py run \
49
+ --folder "data/" \
50
+ --output "output/" \
51
+ --unet "model/unet.pt" \
52
+ --cluster \
53
+ --cluster_quantification \
54
+ --pixel_size_csv "pixelsize.csv" \
55
+ --coverage_quantification \
56
+ --dna_calibration "path=dna_callibration_data/,dna_bp=1059,pixel_size_nm=4.0,perc_low=20,perc_high=95,dna_calibration_threshold=0.8" \
57
+ --dna_calibration "path=second_calibration/,dna_bp=482,pixel_size_nm=2.5"
58
+ ```
59
+
60
+ IHF / POLYAMINES:
61
+ ```
62
+
63
+ ```
64
+
65
+ COHESIN CTCF / SMC PROTEINS:
66
+ ```
67
+
68
+ ```
69
+
70
+ NUCLEOSOMES:
71
+ ```
72
+
73
+ ```
74
+
75
+ Or run GUI version:
76
+
77
+ ```
78
+ python dnasight-gui.py
79
+ ```
80
+
81
+ and choose options in the UI.
82
+
@@ -0,0 +1,48 @@
1
+ # DNAsight
2
+ Code for DNA and cluster segmentation
3
+
4
+ To train a model run e.g.
5
+ ```
6
+ python dnasight-cmd.py train --folder "data_location1/" "data_location2/" --save_dir model/ --save_plots
7
+ ```
8
+
9
+ Examples:
10
+
11
+
12
+ GAF:
13
+ ```
14
+ python dnasight-cmd.py run \
15
+ --folder "data/" \
16
+ --output "output/" \
17
+ --unet "model/unet.pt" \
18
+ --cluster \
19
+ --cluster_quantification \
20
+ --pixel_size_csv "pixelsize.csv" \
21
+ --coverage_quantification \
22
+ --dna_calibration "path=dna_callibration_data/,dna_bp=1059,pixel_size_nm=4.0,perc_low=20,perc_high=95,dna_calibration_threshold=0.8" \
23
+ --dna_calibration "path=second_calibration/,dna_bp=482,pixel_size_nm=2.5"
24
+ ```
25
+
26
+ IHF / POLYAMINES:
27
+ ```
28
+
29
+ ```
30
+
31
+ COHESIN CTCF / SMC PROTEINS:
32
+ ```
33
+
34
+ ```
35
+
36
+ NUCLEOSOMES:
37
+ ```
38
+
39
+ ```
40
+
41
+ Or run GUI version:
42
+
43
+ ```
44
+ python dnasight-gui.py
45
+ ```
46
+
47
+ and choose options in the UI.
48
+