de.unibi.techfak.InSilicoDicer.Actions.FoldPrecursor
Class Fold_Vienna

java.lang.Object
  extended by de.unibi.techfak.InSilicoDicer.Actions.FoldPrecursor.Fold_Vienna
All Implemented Interfaces:
Action, IFoldingAction

public class Fold_Vienna
extends java.lang.Object
implements IFoldingAction

Implementation of interface IFoldingAction, used RNAfold (locally) from Vienna package to support folding.

Author:
Sylvia Tippmann Jan Krüger

Constructor Summary
Fold_Vienna()
          Constructor
Fold_Vienna(Status status)
          Constructor
 
Method Summary
 void foldPrecursor(PrecursorContainer pc)
          Creates a File with the Precursors Nucleotide Sequence; Folds the given precursor with vienna package; Adds the Folding to Precursor`s properties
 Status getStatus()
          Returns the status of current Action
 void setStatus(Status status)
          Set the status of current Action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fold_Vienna

public Fold_Vienna()
Constructor


Fold_Vienna

public Fold_Vienna(Status status)
Constructor

Parameters:
status -
Method Detail

foldPrecursor

public void foldPrecursor(PrecursorContainer pc)
Description copied from interface: IFoldingAction
Creates a File with the Precursors Nucleotide Sequence; Folds the given precursor with vienna package; Adds the Folding to Precursor`s properties

Specified by:
foldPrecursor in interface IFoldingAction

getStatus

public Status getStatus()
Description copied from interface: Action
Returns the status of current Action

Specified by:
getStatus in interface Action
Returns:
Status of this Action

setStatus

public void setStatus(Status status)
Description copied from interface: Action
Set the status of current Action

Specified by:
setStatus in interface Action
Parameters:
status - - Status to be set