rnaconsensus
Quick Start
- Command:
RNAconsensus [-a filename] [-o OUTPUT] [--turn TURN] {hardcons,softcons} ... - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/RNAconsensus - Full reference: See
references/help.mdfor complete options and details
When To Use This Tool
- Predict single-sequence structures using consensus information from a homologous alignment.
- Map an RNAalifold consensus structure onto each sequence with hard constraints.
- Drive
RNAfold -C-style per-sequence predictions from an alignment-derived consensus. - Use the softer probabilistic strategy when hard constraints are too brittle.
Common Patterns
# 1) Produce hard constraints from an alignment plus RNAalifold output
RNAconsensus -a family.aln hardcons family.alifold > constraints.txt
# 2) Derive hard constraints from an RNAalifold dot plot
RNAconsensus -a family.aln hardcons -d alidot.ps -t 0.95 > constraints.txt
# 3) Run the soft-constraint strategy directly
RNAconsensus -a family.aln -o softcons.txt softcons
Recommended Workflow
- Prepare a multiple sequence alignment file of homologous sequences
- Choose a prediction strategy:
hardcons(legacy refold.pl mode) orsoftcons(RNAsoftcons mode) - Run
RNAconsensus -a <alignment_file> -o <output> <strategy> - Review output secondary structure predictions
Guardrails
- Requires a multiple sequence alignment file via
-aflag - Must specify either
hardconsorsoftconsstrategy - Use
--turnto set minimum hairpin length if needed --versionis not implemented in this argparse wrapper even though--helpworks