Since v2.9.0, RNA Framework exports a number of environment variables, that will allow controlling specific behaviours of the framework.
RF_NOCHECKUPDATES
Description: Disables check for updates from the RNA Framework's git repository at programs' startup.
Accepted values:
0 (update check enabled) [default]
1 (update check disabled)
Example:
$ export RF_NOCHECKUPDATES=1 # Disables check for updates
RF_VERBOSITY
Description: Controls the level of verbosity of RNA Framework's warnings and exceptions.
Accepted values:
-1 (no warnings, without stack trace)
0 (warnings and exceptions, without stack trace) [default]
1 (warnings and exceptions, with stack trace)
Example:
$ export RF_VERBOSITY=0 # Default, without stack trace
# [!] Exception [Core::Process::Queue->start()]:
# Data looks binary, but binMode is not set to ":raw"
# -> Caught at lib/Core/Base.pm line 118.
$ export RF_VERBOSITY=1 # With stack trace
# [!] Exception [Core::Process::Queue->start()]:
# Data looks binary, but binMode is not set to ":raw"
#
# Stack dump (descending):
#
# [*] Package: main
# File: rf-fold
# Line: 502
# Subroutine: Core::Process::Queue::start
#
# [*] Package: Core::Process::Queue
# File: lib/Core/Process/Queue.pm
# Line: 121
# Subroutine: Core::Process::start
#
# [*] Package: Core::Process
# File: lib/Core/Process.pm
# Line: 108
# Subroutine: main::fold
#
# [*] Package: main
# File: rf-fold
# Line: 981
# Subroutine: (eval)
#
# -> Caught at lib/Core/Base.pm line 118.
RF_RPATH
Description: Path to the R executable to be used by RNA Framework's modules for plotting.
Accepted values: absolute path to R
Example:
$ export RF_RPATH=/usr/local/bin/R