Overview

Namespaces

  • AnalyseModule
    • Models
  • BaseModule
    • Exceptions
    • Models
    • Repository
    • Services
  • DispatchModule
    • Helpers
    • Models
    • Tools
  • PredictModule
  • SearchModule

Classes

  • RnaplotHelper
  • TravelerHelper
  • Overview
  • Namespace
  • Class

Class RnaplotHelper

RnaplotHelper handles generation of svg visualizations of predicted structures using RNAplot

Namespace: DispatchModule\Helpers
Located at DispatchModule/helpers/RnaplotHelper.php
Methods summary
public static
# deleteRnaplotFiles( string $rnaplotTemp, integer $maxfiles )

Deletes all rna plot svg files - if there's more than maximum limit (see maxRnaPlotSvgStored in config)

Deletes all rna plot svg files - if there's more than maximum limit (see maxRnaPlotSvgStored in config)

Parameters

$rnaplotTemp
path to rna plot temporary dir
$maxfiles
maximum ammount of files to keep or -1 for infinity
public static
# generateRnaplot( string $rnaplotTemp, string $idString, string $sequence, string $prediction, integer $maxfiles = 200 )

Genereates RNAplot svg file

Genereates RNAplot svg file

Parameters

$rnaplotTemp
path to rna plot temporary dir
$idString
svg name
$sequence
whole sequence
$prediction
predicted structure in dot-parent notation
$maxfiles
max svg files to keep in temporary storage (-1 for infinity)

Throws

BaseModule\Exceptions\BaseException
API documentation generated by ApiGen