<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.15.0" xml:lang="en-US">
  <compounddef id="group__struct__utils__abstract__shapes" kind="group">
    <compoundname>struct_utils_abstract_shapes</compoundname>
    <title>Abstract Shapes Representation of Secondary Structures</title>
    <sectiondef kind="func">
      <memberdef kind="function" id="group__struct__utils__abstract__shapes_1gafca0add98ede22bf2c22608878c61b22" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>char *</type>
        <definition>char * vrna_abstract_shapes</definition>
        <argsstring>(const char *structure, unsigned int level)</argsstring>
        <name>vrna_abstract_shapes</name>
        <param>
          <type>const char *</type>
          <declname>structure</declname>
        </param>
        <param>
          <type>unsigned int</type>
          <declname>level</declname>
        </param>
        <briefdescription>
<para>Convert a secondary structure in dot-bracket notation to its abstract shapes representation. </para>
        </briefdescription>
        <detaileddescription>
<para>This function converts a secondary structure into its abstract shapes representation as presented by  <verbatim>embed:rst:inline  :cite:t:`giegerich:2004` </verbatim>.</para>
<para><simplesect kind="see"><para><ref refid="group__struct__utils__abstract__shapes_1ga2fd59087e1c4e3d460e5823ba6d693b4" kindref="member">vrna_abstract_shapes_pt()</ref></para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>structure</parametername>
</parameternamelist>
<parameterdescription>
<para>A secondary structure in dot-bracket notation </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>level</parametername>
</parameternamelist>
<parameterdescription>
<para>The abstraction level (integer in the range of 0 to 5) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The secondary structure in abstract shapes notation</para>
</simplesect>
<xrefsect id="wrappers_1_wrappers000177"><xreftitle>SWIG Wrapper Notes</xreftitle><xrefdescription><para><parblock><para>This function is available as an overloaded function <computeroutput>abstract_shapes()</computeroutput> where the optional second parameter <computeroutput>level</computeroutput> defaults to 5. See, e.g.  <verbatim>embed:rst:inline :py:func:`RNA.abstract_shapes()` in the :doc:`/api_python`</verbatim>. </para>
</parblock></para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="ViennaRNA/structures/shapes.h" line="28" column="1" declfile="ViennaRNA/structures/shapes.h" declline="28" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="group__struct__utils__abstract__shapes_1ga2fd59087e1c4e3d460e5823ba6d693b4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>char *</type>
        <definition>char * vrna_abstract_shapes_pt</definition>
        <argsstring>(const short *pt, unsigned int level)</argsstring>
        <name>vrna_abstract_shapes_pt</name>
        <param>
          <type>const short *</type>
          <declname>pt</declname>
        </param>
        <param>
          <type>unsigned int</type>
          <declname>level</declname>
        </param>
        <briefdescription>
<para>Convert a secondary structure to its abstract shapes representation. </para>
        </briefdescription>
        <detaileddescription>
<para>This function converts a secondary structure into its abstract shapes representation as presented by  <verbatim>embed:rst:inline  :cite:t:`giegerich:2004` </verbatim>. This function is equivalent to vrna_db_to_shapes(), but requires a pair table input instead of a dot-bracket structure.</para>
<para><simplesect kind="note"><para>The length of the structure must be present at <computeroutput>pt</computeroutput>[0]!</para>
</simplesect>
<simplesect kind="see"><para><ref refid="group__struct__utils__abstract__shapes_1gafca0add98ede22bf2c22608878c61b22" kindref="member">vrna_abstract_shapes()</ref></para>
</simplesect>
<parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>pt</parametername>
</parameternamelist>
<parameterdescription>
<para>A secondary structure in pair table format </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>level</parametername>
</parameternamelist>
<parameterdescription>
<para>The abstraction level (integer in the range of 0 to 5) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The secondary structure in abstract shapes notation</para>
</simplesect>
<xrefsect id="wrappers_1_wrappers000178"><xreftitle>SWIG Wrapper Notes</xreftitle><xrefdescription><para><parblock><para>This function is available as an overloaded function <computeroutput>abstract_shapes()</computeroutput> where the optional second parameter <computeroutput>level</computeroutput> defaults to 5. See, e.g.  <verbatim>embed:rst:inline :py:func:`RNA.abstract_shapes()` in the :doc:`/api_python`</verbatim>. </para>
</parblock></para>
</xrefdescription></xrefsect></para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="ViennaRNA/structures/shapes.h" line="48" column="1" declfile="ViennaRNA/structures/shapes.h" declline="48" declcolumn="1"/>
      </memberdef>
    </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
  </compounddef>
</doxygen>
