# {py:mod}`ovo.app.components.molstar_custom_component.contigs_parser` ```{py:module} ovo.app.components.molstar_custom_component.contigs_parser ``` ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`ContigsParser ` - ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser :summary: ``` ```` ### API `````{py:class} ContigsParser :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser ``` ````{py:method} get_chain_and_indices_fixed_region(region: str) :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.get_chain_and_indices_fixed_region ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.get_chain_and_indices_fixed_region ``` ```` ````{py:method} get_output_chain(has_generated_before_chain_break: bool) :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.get_output_chain ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.get_output_chain ``` ```` ````{py:method} parse_region_generated(region: str, last_parsed_res: int, has_generated_before_chain_break: bool) :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_region_generated ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_region_generated ``` ```` ````{py:method} parse_region_fixed_no_mapping(region: str) :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_region_fixed_no_mapping ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_region_fixed_no_mapping ``` ```` ````{py:method} parse_region_fixed(region: str, ref_indices: list[list[typing.Union[str, numpy.int64, bool]]], new_indices: list[list[typing.Union[str, numpy.int64, bool]]], has_generated_before_chain_break: bool) :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_region_fixed ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_region_fixed ``` ```` ````{py:method} parse_contigs_str(contigs_string: str = '', include_generated=False) -> list[ovo.app.components.molstar_custom_component.dataclasses.ContigSegment] :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_contigs_str ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_contigs_str ``` ```` ````{py:method} parse_contigs_trb(contigs_trb: str | dict = '') -> list[ovo.app.components.molstar_custom_component.dataclasses.ContigSegment] :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_contigs_trb ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser.parse_contigs_trb ``` ```` ````{py:method} _parse_contigs_with_tuples(contigs: str, mapped_tuples: list = [], reference_tuples: list = [], include_generated=True) -> list[ovo.app.components.molstar_custom_component.dataclasses.ContigSegment] :canonical: ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser._parse_contigs_with_tuples ```{autodoc2-docstring} ovo.app.components.molstar_custom_component.contigs_parser.ContigsParser._parse_contigs_with_tuples ``` ```` `````