RNAmediator.Tweaks.RNAtweaks.api_rnafold

RNAmediator.Tweaks.RNAtweaks.api_rnafold(sequence: str, span: int, temperature: float = 37, constraint: Iterable[Tuple] = None, FoldOut: FoldOutput = None, coordinates: list = [None, None, None, None]) FoldOutput

api wrapper for RNAfold

Parameters:
  • sequence (str) – string representation of the sequence either RNA or DNA

  • span (int) – RNAfold basepair span option

  • temperature (float) – RNAplfold temperature setting

  • constraint (Iterable[Tuple[str, int, int, int, int]], optional) – Constraints as Tuple in format (paired(p)/unpaired(u), start, end) (default is None) !!Warning!! ZERO BASED !!Warning!!

  • FoldOut (FoldOutput, optional) – existing FoldOutput object to append use

  • coordinates (list([gs, ge, tostart, toend]), optional) – Coordinates of genes

Returns:

FoldOutput object

Return type:

FoldOutput