ovo.app.components.contigs_organizer

Submodules

Package Contents

Functions

contigs_organizer

Create a new instance of “contigs_organizer”.

Data

API

ovo.app.components.contigs_organizer.parent_dir

‘dirname(…)’

ovo.app.components.contigs_organizer.build_dir

‘join(…)’

ovo.app.components.contigs_organizer._component_func

‘declare_component(…)’

ovo.app.components.contigs_organizer.contigs_organizer(contigs: str, pdb: str, colors: dict[str, str], key: str)

Create a new instance of “contigs_organizer”.

Parameters

contigs: str Original contigs definition pdb: str PDB of the relevant structure key: str A key that uniquely identifies this component to avoid re-mounting on changed parameters. colors: dict[str, str] Dictionary mapping segment strings (A123-456) to colors (#00ff00)

Returns

A JSON information about the organized contigs.