.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/enrichment_profile_single_example.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_enrichment_profile_single_example.py: Enrichment Profile mA only ================================= Plot single molecules centered at regions of interest defined in bed file and produce aggregate profile .. GENERATED FROM PYTHON SOURCE LINES 9-10 Create (1) aggregate profile plots for mA/A, (2) single-molecule plots for mA, and (3) base abundance plots for A. .. GENERATED FROM PYTHON SOURCE LINES 12-14 1. Python option ---------------- .. GENERATED FROM PYTHON SOURCE LINES 14-24 .. code-block:: default import dimelo as dm bam = "deep_ctcf_mod_mappings_merge.sorted.bam" sampleName = "quartile4" bed = "quart4.bed" outDir = "./out" dm.plot_enrichment_profile( bam, sampleName, bed, "A", outDir, threshA=190, dotsize=0.05 ) .. GENERATED FROM PYTHON SOURCE LINES 25-28 2. Command line option ---------------------- ``dimelo-plot-enrichment-profile -f deep_ctcf_mod_mappings_merge.sorted.bam -s quartile4 -b quart4.bed -m A -o ./out -A 190 -d 0.05`` .. GENERATED FROM PYTHON SOURCE LINES 30-36 Output ---------------------- .. figure:: ../auto_examples/images/quartile4_A_sm_rolling_avg.png :align: center .. figure:: ../auto_examples/images/quartile4_A_sm_scatter.png .. figure:: ../auto_examples/images/quartile4_A_base_count.png .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.000 seconds) .. _sphx_glr_download_auto_examples_enrichment_profile_single_example.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: enrichment_profile_single_example.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: enrichment_profile_single_example.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_