.. jpegdna documentation master file, created by sphinx-quickstart on Tue Aug 31 10:31:14 2021. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. .. role:: bash(code) :language: bash .. role:: python(code) :language: python Welcome to Jpeg DNA's documentation! ==================================== The algorithm ------------- This package contains an implementation of the Jpeg DNA algorithm originally developped in MatLab. The software can be found on `Jpeg_DNA_Python `_'s github. It is inspired by the classic Jpeg algorithm, but the goal of Jpeg DNA's algorithm is not to compress data into a normal binary file but into a quaternary file adapted to DNA data storage. To this end, the encoding aspect of the algorithm has to respect some rules linked to biological constraints of DNA molecules and technical constraints of the synthetisation and sequencing of those DNA molecules. Some words or some patterns have been forbidden during encoding as a convention, because those patterns are more error prone than the regular ones. This means that the encoding part of the Jpeg DNA algorithm is based on an incomplete quaternary code. An in-depth description of the algorithm can be found in the :doc:`jpegdna_algorithm ` section. Implementation -------------- The algorithm has been implemented in the most modular way possible, so that anyone can experiment with the compoenents of the alogorithm, adjust parameters, use different coding alogorithm, develop new ones. To this end, we have developped a collection of coders that all follow the same functionning mechanisms. The same kind of development has been used for transforms. You can find an explanation of this in the :doc:`jpegdna_implementation ` section. Usage ----- In the section :doc:`jpegdna_usage `, you will find a short explanation on how to use the compression and decompression scripts. .. toctree:: :maxdepth: 2 :hidden: :caption: Contents: ./jpegdna_algorithm.rst ./jpegdna_implementation.rst ./jpegdna_usage.rst .. toctree:: :maxdepth: 2 :hidden: :caption: Library index: ./jpegdna.rst .. Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`