seismic fold
Purpose
seismic fold uses per-position mutation rates to predict RNA secondary
structures using one of two external folding programs.
It normalizes the mutation rates into reactivity scores and passes them as
soft constraints to guide the structure prediction.
Requires either RNAstructure (Fold/ShapeKnots) or ViennaRNA (RNAfold/RNAsubopt)
depending on the --fold-backend setting.
Inputs
- Table CSV files or table output directories
Per-position mutation rate tables produced by
seismic table. Pass a table CSV, the directory containing it, or a higher-level directory. See Specify Input Files.
Outputs
All outputs go into {out}/{sample}/fold/{ref}/{reg}/.
{profile}.ctOne CT file per mutational profile, named
{reg}__average.ct(or{reg}__cluster-{K}-{k}.ctfor clustered data); contains the predicted base pairs. See Connectivity Table (CT): RNA secondary structures.fold-report.jsonSummary of settings and results. See Fold Report.
Quick example
Fold filter output using the default DMS settings:
seismic fold out/sample-1/filter/ref-1
Options
- Backend
--fold-backend {auto|rnastructure|viennarna}Folding program to use.
auto(default): uses RNAstructure for DMS, ViennaRNA otherwise.--pseudoknots/--no-pseudoknotsPredict pseudoknotted structures using ShapeKnots (requires RNAstructure; default off).
- Reactivity normalization
--fold-quantile FWinsorize reactivities to this quantile before folding (default 0.95).
--fold-energy-method {auto|cordero|deigan|eddy}How to convert reactivities to folding energy penalties (default auto).
--deigan-slope FSlope (kcal/mol) for the Deigan energy method (default 1.8).
--deigan-intercept FIntercept (kcal/mol) for the Deigan energy method (default −0.6).
- Folding conditions
--fold-temp FTemperature in Celsius (default 37.0).
--fold-md NMaximum base-pair distance in nucleotides; 0 for no limit (default 0).
--fold-isolated/--fold-stackedAllow isolated (non-stacked) base pairs (default off).
- Output structures
--fold-mfe/--fold-subPredict only the minimum-free-energy structure (default off = predict suboptimal structures as well).
--fold-max NMaximum number of suboptimal structures to output (default 20).
--fold-percent FStop outputting structures when energy exceeds MFE by this % (default 20).
- Constraints
--fold-constraint FILEForce specific bases to be paired or unpaired from a constraint file.
- Region selection
--fold-coords REF FIRST LASTFold only positions FIRST–LAST of REF.
--fold-primers REF FWD REVDefine the region by primer sequences.
--fold-regions-file FILEDefine regions to fold from a CSV file.
- Branches
--branch NAME(-b)Write outputs to
{out}/{sample}/fold_{NAME}/. See Branches.
- Performance
--num-cpus N— multiprocessing; see Parallelize Tasks.--force— overwrite existing outputs.
The auto-generated Command Line Reference lists every option with its current default.
Common unexpected results
- All structures have very few base pairs
Mutation rates may be too high or not normalized correctly. Check that the probe preset (DMS vs. SHAPE) and
--fold-quantileare appropriate for your data.- Fold fails immediately
The required backend (RNAstructure or ViennaRNA) may not be installed. Check that
Fold,ShapeKnots,RNAfold, orRNAsuboptis on your PATH.
See also
seismic table — produces the mutation rate tables this step uses
seismic draw — visualizes the predicted structures
Connectivity Table (CT): RNA secondary structures, Fold Report