fractaldna-0.6.0
توضیحات
FractalDNA is a Python package built to generate DNA geometries for simulations
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fractaldna-0.6.0 |
| نام | fractaldna |
| نسخه کتابخانه | 0.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nathanael Lampe |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/natl/fractaldna |
| آدرس اینترنتی | https://pypi.org/project/fractaldna/ |
| مجوز | MIT |
FractalDNA
===
Python routines for generating geometric models of DNA
---
*FractalDNA is being converted to a package, it is under active developmemt*
<div align="center">
[](https://github.com/natl/fractaldna/actions?query=workflow%3Abuild)
[](https://pypi.org/project/fractaldna/)
[](https://github.com/natl/fractaldna/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
[](https://github.com/psf/black)
[](https://github.com/PyCQA/bandit)
[](https://github.com/natl/fractaldna/blob/master/.pre-commit-config.yaml)
[](https://github.com/natl/fractaldna/releases)
[](https://github.com/natl/fractaldna/blob/master/LICENSE)
</div>
FractalDNA is a Python package to make DNA geometries that can be joined together like
jigsaw puzzles. Both simple, sections of DNA and Solenoidal DNA can be built. This
module was built to enable DNA-level simulations to be run in [Geant4-DNA](http://geant4-dna.in2p3.fr/), part of the
[Geant4](geant4.cern.ch/) project.
Structure models define the large scale structure of DNA,
seeded from fractals. An example seeding fractal is below:
<p align="center">
<img width="460" height="300" src="https://raw.githubusercontent.com/natl/fractaldna/master/docs/source/images/fractal-path.svg" alt="A 3-D iterated Hilbert Curve">
</p>
DNA Models provide straight and curved segments that can come together to
make DNA for use in simulations.
<p align="center">
<img width="460" height="300" src="https://raw.githubusercontent.com/natl/fractaldna/master/docs/source/images/single_solenoid_line_plot.jpg" alt="A straight solenoidal DNA segment">
</p>
Project documentation is available [here](http://natl.github.io/fractaldna/) alongside [notebook examples](http://natl.github.io/fractaldna/examples.html)
## ⚙️ Installation
Install FractalDNA with `pip`
```bash
pip install fractaldna
```
or install with `Poetry`
```bash
poetry add fractaldna
```
## 🧬 Make some DNA
```py
from fractaldna.dna_models import dnachain as dna
# Make a DNA Chain 40 base pairs long (repeating GATC).
chain = dna.DNAChain("GTAC" * 10)
# Export it to a DataFrame for use in another program
df = chain.to_frame()
```
For more, check out the [notebook examples](http://natl.github.io/fractaldna/examples.html) in the project documentation.
## 🛡 License
[](https://github.com/natl/fractaldna/blob/master/LICENSE)
This project is licensed under the terms of the `MIT` license. See [LICENSE](https://github.com/natl/fractaldna/blob/master/LICENSE) for more details.
## 📃 Citation
```bibtex
@misc{fractaldna,
author = {Nathanael Lampe},
title = {FractalDNA},
year = {2021},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/natl/fractaldna}}
}
```
## Credits [](https://github.com/TezRomacH/python-package-template)
This project was generated with [`python-package-template`](https://github.com/TezRomacH/python-package-template)
نیازمندی
| مقدار | نام |
|---|---|
| >=0.3.2,<0.5.0 | typer[all] |
| >=10.7,<13.0 | rich |
| >=1.22.0,<2.0.0 | numpy |
| >=1.3.3,<2.0.0 | pandas |
| >=3.4.3,<4.0.0 | matplotlib |
| >=1.8.0,<2.0.0 | scipy |
| >=6.2.5,<8.0.0 | pytest |
| >=4.8.2,<5.0.0 | importlib-metadata |
| >=4.62.3,<5.0.0 | tqdm |
| ==0.8.4 | mistune |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<3.11 | Python |
نحوه نصب
نصب پکیج whl fractaldna-0.6.0:
pip install fractaldna-0.6.0.whl
نصب پکیج tar.gz fractaldna-0.6.0:
pip install fractaldna-0.6.0.tar.gz