Examples
========

Define a graphic record "by hand"
---------------------------------

.. literalinclude:: ../examples/graphic_record_defined_by_hand.py

.. figure:: ../examples/graphic_record_defined_by_hand.png
    :align: center

.. figure:: ../examples/graphic_record_defined_by_hand_circular.png
    :align: center

Custom Biopython record translator
----------------------------------

.. literalinclude:: ../examples/custom_biopython_translator.py

.. figure:: ../examples/custom_biopython_translator.png
    :align: center

Load a graphic record from Genbank
----------------------------------

.. literalinclude:: ../examples/from_genbank.py
.. figure:: ../examples/from_genbank.png
    :align: center

Plot sequence with GC content plot
----------------------------------

.. literalinclude:: ../examples/with_gc_plot.py

.. figure:: ../examples/with_gc_plot.png
    :align: center

Sequence nucleotides and translation
------------------------------------

.. literalinclude:: ../examples/sequence_and_translation.py

.. figure:: ../examples/sequence_and_translation.png
    :align: center

Example with GIF
----------------

.. literalinclude:: ../examples/example_with_gif.py

.. figure:: ../examples/example_with_gif.gif
    :align: center