Overview

Namespaces

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

Classes

  • BaseModel
  • BlastModel
  • BlastXMLParser
  • BlatModel
  • Cppredict2Model
  • CppredictModel
  • FastaModel
  • FileModel
  • Overview
  • Namespace
  • Class

Class Cppredict2Model

Cppredict2Model cooperates with Cppredict2

BaseModule\Models\BaseModel
Extended by DispatchModule\Models\Cppredict2Model
Namespace: DispatchModule\Models
Located at DispatchModule/models/Cppredict2Model.php
Methods summary
public
# logRecord( string $message )

Log message output for debugging purposes, incl. formatting.

Log message output for debugging purposes, incl. formatting.

Parameters

$message
Log message to be saved
public
# __construct( boolean $debug = -1 )

Fills in the default values for running cp_predict.py

Fills in the default values for running cp_predict.py

Parameters

$debug
if set to true, debug mode is on
public string
# buildCommand( string $inputSeqFasta )

Builds the shell command to execute. Everything except the input FASTA sequence name is known from inside Cppredict2Model, so the only argument is the input FASTA name.

Builds the shell command to execute. Everything except the input FASTA sequence name is known from inside Cppredict2Model, so the only argument is the input FASTA name.

Parameters

$inputSeqFasta
The path to the input FASTA file, relative to $cp_root

Returns

string
The command to pass to shell_exec() to run CP-predict2
Properties summary
protected string $cpRoot

Used as: cp_predict.py -r $cp_root

Used as: cp_predict.py -r $cp_root

#
protected string $tempDir

This is where the temporary files for cp_predict2 are created.

This is where the temporary files for cp_predict2 are created.

#
protected string $templates

Used as: cp_predict.py -t $templates

Used as: cp_predict.py -t $templates

#
protected string $tmap

Used as: cp_predict.py -m $tmap

Used as: cp_predict.py -m $tmap

#
protected string $defaultPredictionSettings

Passed directly. Will change when further input fields are enabled.

Passed directly. Will change when further input fields are enabled.

#
API documentation generated by ApiGen