Metadata-Version: 2.4
Name: dnasight
Version: 1.6.9
Summary: DNAsight
Author-email: Emily Winther Sørensen <es@chem.ku.dk>, "Julius B. Kirkegaard" <juki@di.ku.dk>
License-Expression: MIT
Project-URL: Homepage, https://github.com/emilywinther/dnasight
Project-URL: Repository, https://github.com/emilywinther/dnasight
Project-URL: Issues, https://github.com/emilywinther/dnasight/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: roifile==2026.1.29
Requires-Dist: scikit-image==0.26.0
Requires-Dist: scipy==1.17.0
Requires-Dist: tifffile==2026.1.28
Requires-Dist: numpy==2.3.0
Requires-Dist: opencv-python-headless==4.13.0.92
Requires-Dist: matplotlib==3.10.8
Requires-Dist: pandas==3.0.0
Requires-Dist: tqdm==4.67.3
Requires-Dist: torch==2.10.0
Requires-Dist: torchvision==0.25.0
Requires-Dist: albumentations==2.0.8
Requires-Dist: imagecodecs==2026.1.14
Requires-Dist: scikit-learn==1.8.0
Requires-Dist: numba==0.63.1
Requires-Dist: mahotas==1.4.18
Requires-Dist: dearpygui==2.1.1
Requires-Dist: trackpy==0.7
Requires-Dist: pyinstaller==6.18.0
Requires-Dist: certifi==2026.1.4
Dynamic: license-file

# DNAsight  
Code for DNA and cluster segmentation

To train a model run e.g.
```
python dnasight-cmd.py train --folder "data_location1/" "data_location2/" --save_dir model/ --save_plots
```

Examples:


GAF:
```
python dnasight-cmd.py run \
    --folder "data/" \
    --output "output/" \
    --unet "model/unet.pt" \
    --cluster \
    --cluster_quantification \
    --pixel_size_csv "pixelsize.csv" \
    --coverage_quantification \
    --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" \
    --dna_calibration "path=second_calibration/,dna_bp=482,pixel_size_nm=2.5"
```

IHF / POLYAMINES:
```

```

COHESIN CTCF / SMC PROTEINS:
```

```

NUCLEOSOMES:
```

```

Or run GUI version:

```
python dnasight-gui.py
```

and choose options in the UI.

