Segment Anything Model Guide
Orchestra-Research/AI-Research-SKILLs
Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.
Predicts RNA secondary structure with ViennaRNA, treating the Boltzmann ensemble (partition function, base-pair probabilities, centroid, MEA, stochastic samples) as the object rather than a single…
$ npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install GPTomics/bioSkills bio-rna-structure-secondary-structure-prediction --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/rna-structure/secondary-structure-prediction .claude/skills/bio-rna-structure-secondary-structure-prediction && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "bio-rna-structure-secondary-structure-prediction" agent skill from https://github.com/GPTomics/bioSkills/tree/main/rna-structure/secondary-structure-prediction into .claude/skills/bio-rna-structure-secondary-structure-prediction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-rna-structure-secondary-structure-prediction", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/GPTomics/bioSkills/tree/main/rna-structure/secondary-structure-predictionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install GPTomics/bioSkills bio-rna-structure-secondary-structure-prediction --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/rna-structure/secondary-structure-prediction .agents/skills/bio-rna-structure-secondary-structure-prediction && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "bio-rna-structure-secondary-structure-prediction" agent skill from https://github.com/GPTomics/bioSkills/tree/main/rna-structure/secondary-structure-prediction into .agents/skills/bio-rna-structure-secondary-structure-prediction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-rna-structure-secondary-structure-prediction", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install GPTomics/bioSkills bio-rna-structure-secondary-structure-prediction --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/rna-structure/secondary-structure-prediction .cursor/skills/bio-rna-structure-secondary-structure-prediction && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "bio-rna-structure-secondary-structure-prediction" agent skill from https://github.com/GPTomics/bioSkills/tree/main/rna-structure/secondary-structure-prediction into .cursor/skills/bio-rna-structure-secondary-structure-prediction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-rna-structure-secondary-structure-prediction", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/GPTomics/bioSkills.git --path rna-structure/secondary-structure-prediction--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install GPTomics/bioSkills bio-rna-structure-secondary-structure-prediction --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/rna-structure/secondary-structure-prediction .gemini/skills/bio-rna-structure-secondary-structure-prediction && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "bio-rna-structure-secondary-structure-prediction" agent skill from https://github.com/GPTomics/bioSkills/tree/main/rna-structure/secondary-structure-prediction into .gemini/skills/bio-rna-structure-secondary-structure-prediction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-rna-structure-secondary-structure-prediction", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install GPTomics/bioSkills bio-rna-structure-secondary-structure-predictionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .github/skills && cp -r skills-src/rna-structure/secondary-structure-prediction .github/skills/bio-rna-structure-secondary-structure-prediction && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "bio-rna-structure-secondary-structure-prediction" agent skill from https://github.com/GPTomics/bioSkills/tree/main/rna-structure/secondary-structure-prediction into .github/skills/bio-rna-structure-secondary-structure-prediction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-rna-structure-secondary-structure-prediction", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install GPTomics/bioSkills bio-rna-structure-secondary-structure-prediction --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/rna-structure/secondary-structure-prediction .opencode/skills/bio-rna-structure-secondary-structure-prediction && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "bio-rna-structure-secondary-structure-prediction" agent skill from https://github.com/GPTomics/bioSkills/tree/main/rna-structure/secondary-structure-prediction into .opencode/skills/bio-rna-structure-secondary-structure-prediction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-rna-structure-secondary-structure-prediction", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
bio-rna-structure-secondary-structure-predictionPredicts RNA secondary structure with ViennaRNA, treating the Boltzmann ensemble (partition function, base-pair probabilities, centroid, MEA, stochastic samples) as the object rather than a single…
Bio Rna Structure Secondary Structure Prediction is an agent skill from GPTomics/bioSkills. Predicts RNA secondary structure with ViennaRNA, treating the Boltzmann ensemble (partition function, base-pair probabilities, centroid, MEA, stochastic samples) as the object rather than a single MFE fold. Covers consensus folding from alignments (RNAalifold), SHAPE-constrained folding, RNA-RNA interaction (RNAcofold/RNAduplex/RNAup), local and linear-time methods for long RNA, and pseudoknot-aware tools. Use when folding an RNA and choosing between MFE, centroid, MEA, or ensemble sampling; judging whether a…
Its SKILL.md is about 5.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `examples/consensus_structure.sh`, `examples/rnafold_analysis.py` and `usage-guide.md`).
It sits in AI & LLM Engineering, covering Deep learning. It works with Python. The repository describes itself as: a set of SKILLS.md for doing bioinformatics with agents like claude code. The licence is MIT.
Read from SKILL.md and the folder at commit d91ed3d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Shell and Python), which the agent can run.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Bio Rna Structure Secondary Structure Prediction loads about 5.9k tokens when it runs. Until then it costs about 190 tokens; SKILL.md has 2,342 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from GPTomics/bioSkills at commit d91ed3d, republished under its MIT licence (© GPTomics). 2,342 words, ~5,878 tokens.
.claude/skills/bio-rna-structure-secondary-structure-prediction/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Reference examples tested with: ViennaRNA 2.6+, matplotlib 3.8+, numpy 1.26+
Before using code patterns, verify installed versions match. If versions differ:
<tool> --version then <tool> --help to confirm flagspip show <package> then help(module.function) to check signaturesIf code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
"Predict the secondary structure of my RNA sequence" -> Compute base pairs under a nearest-neighbor thermodynamic model, but report the Boltzmann ENSEMBLE (partition function, base-pair probabilities, centroid/MEA, per-base confidence), not a single fold.
RNAfold -p for single-sequence ensemble foldingRNAalifold for consensus structure from an alignmentRNAcofold / RNAduplex / RNAup for RNA-RNA interactionimport RNA (fold_compound) for scripted ensemble analysisThe minimum free energy (MFE) structure is the single lowest-energy fold, but every possible structure has probability proportional to exp(-G/RT). The partition function (McCaskill 1990) sums over that whole Boltzmann ensemble and yields the probability of each base pair, not just one fold. The MFE is frequently NOT the biologically relevant structure: riboswitches sit at a poised switch between two folds, many RNAs are genuinely dynamic, and the functional fold is often slightly suboptimal. Report the MFE alone and the uncertainty is hidden.
Three consequences shape every decision below:
| Question / input | Tool | Why |
|---|---|---|
| Fold one sequence, want structure + confidence | RNAfold -p | MFE + partition function (centroid/MEA/diversity) |
| Ensemble free energy only, no dot plot (speed) | RNAfold -p0 | skips base-pair probabilities, ~50% faster |
| Consensus structure from an alignment of homologs | RNAalifold | thermodynamics + covariation |
| Two RNAs that dimerize (full model + concentrations) | RNAcofold (-c) | intra+inter pairs, equilibrium species |
| Fast two-strand hybridization screen | RNAduplex | inter-molecular pairs only, no internal structure |
| sRNA/miRNA-target where site accessibility matters | RNAup | opening energy + hybridization (correct for buried sites) |
| Sample alternative conformations | RNAsubopt -p N / fc.pbacktrack(n) | Boltzmann sampling |
| Long mRNA: local pairing / target accessibility | RNAplfold | windowed pair + unpaired probabilities |
| Long RNA/genome: find local structured elements | RNALfold | locally stable structures, bounded span |
| Sequence longer than a few kb | LinearFold / LinearPartition | O(n), avoids a meaningless global O(n^3) fold |
| Pseudoknot suspected | IPknot / ProbKnot / Knotty | nested folders structurally cannot |
| Have SHAPE/DMS reactivities | RNAfold --shape (Deigan) | restrain folding with experimental data |
| Goal | Answer | Note |
|---|---|---|
| Quick single estimate | MFE | over-calls weak pairs; not for long/low-complexity RNA |
| Conservative, ensemble-representative structure | centroid | minimum total base-pair distance to ensemble; fewer false pairs, can under-pair |
| Best single structure (esp. with probing data) | MEA (tune gamma) | high gamma -> more pairs/recall, low gamma -> fewer/precision |
| Per-pair / per-base confidence | base-pair probability (>0.9) + positional entropy | structure-agnostic confidence track |
| Conformational switching / multiple states | stochastic sampling | cluster the samples into populations |
| Is one structure well-defined? | ensemble diversity (low) + ensemble defect | length-relative, not an absolute cutoff |
# MFE only
echo "GGGCUAUUAGCUCAGUUGGUUAGAGCGCACCCCUGAUAAGGGUGAGGUCGCUGAUUCGAAUUCAGCAUAGCCCA" | RNAfold --noPS
# Ensemble: partition function + base-pair probabilities + centroid + MEA + ensemble diversity
# --noPS suppresses the *_dp.ps / *_ss.ps PostScript files RNAfold writes to the CWD by default
echo ">myRNA" > rna.fa && echo "GGGCUAUUAGCUCAGUUGGUUAGAGCGCACC" >> rna.fa
RNAfold -p --MEA --noLP --noPS < rna.faKey flags (verified against the current manpage):
| Option | Effect |
|---|---|
-p | partition function + base-pair-probability matrix (unlocks centroid/MEA/diversity) |
-p0 | ensemble free energy ONLY, no base-pair probabilities (faster) |
--MEA[=gamma] | maximum-expected-accuracy structure (default gamma 1.0); --MEA implies -p |
-d2 | dangling-end model (default); use -d0 for comparative/alignment folding to avoid dangle artifacts |
-d3 | also allow coaxial stacking of adjacent helices in multiloops (MFE folding only; the partition function -p ignores -d3 and falls back to -d2, so ensemble quantities do not reflect it) |
--noLP | forbid lonely (isolated) base pairs; standard for well-folded RNA |
--maxBPspan N | cap base-pair span; crude knob for long sequences |
-T 37 | folding temperature in Celsius (default 37) |
--shape FILE / --shapeMethod | SHAPE-directed folding (see structure-probing) |
-g | allow G-quadruplex formation (default off; turn on for G-rich sequences where G4s compete with canonical pairing) |
--noPS | suppress PostScript drawings (always set in scripts to avoid CWD clutter) |
fc.pf() MUST be called before bpp(), centroid(), MEA(), pbacktrack(), positional_entropy(), ensemble_defect(), or mean_bp_distance() -- they all read the partition-function matrices and silently return empty/garbage otherwise.
import RNA
seq = 'GCGGAUUUAGCUCAGUUGGGAGAGCGCCAGACUGAAGAUCUGGAGGUCCUGUGUUCGAUCCACAGAAUUCGCACCA'
fc = RNA.fold_compound(seq)
mfe_struct, mfe = fc.mfe()
_, ensemble_g = fc.pf() # partition function; ensemble G <= MFE always
centroid, _ = fc.centroid() # conservative, fewer false-positive pairs
mea_struct, _ = fc.MEA() # MEA(gamma); gamma>1 favors pairing (recall), gamma<1 precision
diversity = fc.mean_bp_distance() # ensemble diversity: low = well-defined (read RELATIVE to length)
defect = fc.ensemble_defect(mfe_struct) # expected wrongly-paired positions of this structure vs ensemble
entropy = fc.positional_entropy() # per-base Shannon entropy: low = confidently paired-or-unpaired
Sample alternative conformations from the Boltzmann ensemble (riboswitches, bistable RNA) with the CLI RNAsubopt -p N (N stochastic samples) or the Python fc.pbacktrack(N) after fc.pf(); cluster the samples to find conformational populations. fc.pbacktrack requires a ViennaRNA build with stochastic backtracking enabled -- if it returns nothing, use RNAsubopt -p N.
Decision rule: one well-defined structure -> centroid or MEA; report stability/confidence -> partition-function quantities (base-pair probabilities + positional entropy); conformational switching -> stochastic sampling; quick single estimate -> MFE (with the caveats above).
import RNA
seq = 'GCGGAUUUAGCUCAGUUGGGAGAGCGCCAGACUGAAGAUCUGGAGGUCCUGUGUUCGAUCCACAGAAUUCGCACCA'
# Hard constraints: force positions unpaired or paired
fc = RNA.fold_compound(seq)
fc.hc_add_up(35, RNA.CONSTRAINT_CONTEXT_ALL_LOOPS) # 1-indexed; force position 35 unpaired
fc.hc_add_bp(1, 72, RNA.CONSTRAINT_CONTEXT_ALL_LOOPS)
constrained, c_mfe = fc.mfe()
# Soft SHAPE pseudo-energy restraint (Deigan model). The reactivity vector is 1-INDEXED:
# prepend -999 as a placeholder for index 0; -999 elsewhere means "no data" (NOT zero reactivity).
# m=1.8, b=-0.6 is the standard SHAPE pair (Hajdin 2013, the ViennaRNA default), not Deigan 2009's own m=2.6/b=-0.8.
fc2 = RNA.fold_compound(seq)
reactivities = [-999.0] + [0.1, 0.05, 0.8, 0.9] + [-999.0] * (len(seq) - 4)
fc2.sc_add_SHAPE_deigan(reactivities, 1.8, -0.6)
shape_struct, shape_mfe = fc2.mfe() # this energy INCLUDES the SHAPE pseudo-energy; do NOT compare it to the unrestrained MFEThe energy returned after a SHAPE restraint folds in the pseudo-energy bonus, so it is not on the same scale as an unconstrained MFE -- compare the STRUCTURES (base-pair distance, SHAPE agreement), not the two energy numbers. See structure-probing for obtaining reactivities and for the SHAPE-vs-DMS parameter choice.
Evolution conserves structure while sequence drifts, so a compensatory substitution (an A-U in one species becoming G-C at the same two columns) is direct evidence of a real pair that thermodynamics alone cannot see. RNAalifold folds an alignment with a combined thermodynamic + covariation score.
# Consensus structure; format (Stockholm/Clustal/FASTA) is auto-detected, alignment is positional.
# --ribosum_scoring improves covariation detection; -d0 avoids dangle artifacts at gapped columns.
RNAalifold --ribosum_scoring -d0 -p --noPS alignment.sto| Option | Effect |
|---|---|
--cfactor | covariation weight (default 1.0; lower leans on thermodynamics) |
--nfactor | penalty for sequences that cannot form the consensus pair (default 1.0) |
--ribosum_scoring | use RIBOSUM covariation matrices (recommended) |
-p | consensus partition function + base-pair probabilities |
RNAalifold accuracy depends entirely on alignment quality and real covariation: near-identical sequences carry no covariation signal and it degrades toward noisy single-sequence folding. RNAalifold assumes a FIXED, correct alignment; when homologs cannot be aligned reliably, TurboFold II co-estimates alignment AND structure across the sequences jointly (Tan et al. 2017) and is the better choice. A predicted consensus structure is a HYPOTHESIS until covariation is statistically validated -- test it with R-scape (see covariation-analysis), which found no significant covariation support for the proposed HOTAIR/Xist/SRA lncRNA structures.
For a multi-kilobase mRNA, lncRNA, or viral genome, a single global O(n^3) MFE both over-pairs across long ranges and is slow, and folding is co-transcriptional and local in reality.
# Windowed local pairing + per-position UNPAIRED (accessibility) probabilities
RNAplfold -W 200 -L 150 -u 30 < long_rna.fa # -W window, -L max base-pair span, -u accessibility region length
# Scan for locally stable structured elements with a bounded span
RNALfold -L 150 < long_rna.fa
# Linear-time approximate MFE (LinearFold) and partition function (LinearPartition), if installed
echo "GGGAAACCC..." | linearfold
echo "GGGAAACCC..." | linearpartitionLinearFold's 5'->3' beam search can match or improve accuracy versus the exact cubic algorithm on long RNAs (the exact global model is not more correct when a single structure is not meaningful), besides being far faster.
The standard dynamic programming forbids crossing pairs, and general pseudoknot prediction is NP-hard (Lyngso & Pedersen 2000) -- RNAfold/RNAalifold silently return the best NESTED structure. Suspect a pseudoknot for tmRNA, telomerase RNA, RNase P, many riboswitch aptamers (SAM-II, preQ1), -1 ribosomal frameshift elements, IRES, and group I/II intron cores.
| Tool | Class / method | Note |
|---|---|---|
| IPknot | integer programming over base-pair probabilities | fast, broad class, the pragmatic default |
| ProbKnot | MEA assembly from McCaskill probabilities (RNAstructure) | any topology, fastest/most scalable |
| Knotty | MFE over the broad CCJ class | more complex crossing topologies |
| pknotsRG | MFE over restricted simple recursive pseudoknots, O(n^4) | narrower class |
Pseudoknot prediction is substantially less accurate and more expensive than nested folding -- treat any predicted pseudoknot as a hypothesis to corroborate with a second tool, covariation, or probing.
| Tool | Models | Use when |
|---|---|---|
| RNAcofold | both intramolecular AND intermolecular pairs; -c gives equilibrium concentrations | full dimerization model |
| RNAduplex | inter-molecular pairs only (no internal structure), fast | first-pass target screen |
| RNAup | opening (accessibility) energy + hybridization energy | sRNA/miRNA-target where the site may be buried in structure (the physically correct choice) |
The two strands are concatenated with & (RNAcofold/RNAduplex); RNAup takes the two sequences on separate lines.
# Full dimer model (intra + inter pairs); -p for the heterodimer partition function
echo "GCGCGCAUAU&AUAUGCGCGC" | RNAcofold -p --noPS
# With -c, RNAcofold reads the two monomer concentrations and reports equilibrium fractions of the
# five species (AB, AA, BB, A, B) -- use it to ask how much dimer actually forms, not just whether it is favorable.
# Fast inter-molecular-only hybridization screen (no internal structure)
echo "GCGCGCAUAU&AUAUGCGCGC" | RNAduplex
# Accessibility-corrected sRNA/miRNA-target binding: opening energy + hybridization (-b includes both)
RNAup -b < two_sequences.faDeep-learning predictors (SPOT-RNA, UFold, E2Efold) report high accuracy ON FAMILIES SEEN IN TRAINING, but under family-fold cross-validation that removes train/test homology their accuracy collapses to at or below the thermodynamic baseline (Szikszai et al. 2022); the apparent gains are intra-family memorization, and benchmark sets are ~55% rRNA / >90% rRNA+tRNA (Flamm et al. 2022). For a genuinely novel RNA (unseen Rfam family), no single-sequence method (DL or thermodynamic) is reliable -- the robust evidence is covariation (R-scape) and experimental probing. If using DL, prefer the thermodynamics-integrated hybrid MXfold2 over end-to-end nets; never cite intra-family accuracy as proof of de-novo performance.
"Is this more structured than random?" (z-score vs shuffled controls, RNAz, randfold): shuffles MUST preserve DINUCLEOTIDE composition (Altschul-Erikson), because MFE is dominated by GC content and base stacking, a dinucleotide property -- a mononucleotide shuffle inflates significance and makes almost anything look stable. For an alignment, RNAz combines a dinucleotide-controlled z-score with a structure conservation index (SCI = consensus MFE / mean single-sequence MFE; ~1 = a conserved structure), but reads Clustal/MAF, not Stockholm. A negative z-score means "more stable than random," NOT "this structure is correct"; covariation is the stronger evidence standard.
| Situation | Recommended | Avoid as default |
|---|---|---|
| Single novel RNA, no homologs | thermodynamic ensemble (RNAfold -p / RNAstructure) | pure end-to-end DL |
| Aligned homologs with covariation | RNAalifold + R-scape validation | single-sequence MFE |
| Homologs but no trusted alignment | TurboFold II (joint alignment + structure) | align-then-RNAalifold on a poor alignment |
| Have SHAPE/DMS reactivities | probing-restrained folding (Deigan/Zarringhalam) | unrestrained MFE |
| Long mRNA / transcriptome scale | RNAplfold / LinearFold+LinearPartition | global O(n^3) MFE |
| Pseudoknot biology | IPknot/ProbKnot/Knotty + cross-check | RNAfold (cannot) |
| Willing to use DL | MXfold2 (thermodynamics-integrated) | E2Efold/UFold on unseen families |
When competing methods or parameters are in play, verify current behavior against the installed tool's --help and the latest docs before trusting a number.
Dot-bracket is the default text form; CT and BPSEQ are the interchange formats downstream tools (ProbKnot, IPknot, RNAstructure) read and write. To DRAW a structure, use forna (web), R2DT (template-based standard layouts for known families), or VARNA; RNAfold's own *_ss.ps PostScript drawing is exactly what --noPS suppresses, so drop --noPS when the built-in diagram is wanted. The example renders the base-pair probability dot plot with matplotlib.
| Symptom | Cause | Fix |
|---|---|---|
AttributeError: module 'RNA' has no attribute 'sequence_shuffle' | no such ViennaRNA function | use a dinucleotide-preserving shuffle (ushuffle, esl-shuffle -d) for z-scores |
bpp()/centroid()/MEA() return empty or garbage | fc.pf() not called first | call fc.pf() before any ensemble quantity |
*_dp.ps / *_ss.ps files appearing in the working directory | RNAfold/RNAalifold write PostScript by default | pass --noPS (and run in a scratch dir) |
| Long mRNA gives one improbable global fold | global MFE is meaningless past ~700 nt | use RNAplfold / LinearFold / LinearPartition |
| Predicted structure has a pseudoknot the tool "missed" | RNAfold cannot represent crossing pairs | use IPknot / ProbKnot / Knotty |
| Consensus structure looks confident but is wrong | RNAalifold trusts the alignment; no real covariation | validate with R-scape; check alignment quality |
RNAalifold --aln alignment.sto treated as input flag | --aln is an OUTPUT (annotated PostScript) flag | pass the alignment positionally: RNAalifold alignment.sto |
| SHAPE-constrained fold barely changes | reactivity vector mis-indexed or zeros where data is missing | vector is 1-indexed (prepend -999); use -999 for no-data, not 0 |
© GPTomics, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files in rna-structure/secondary-structure-prediction of GPTomics/bioSkills.
Open the folder on GitHubat commit d91ed3d
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in GPTomics/bioSkills, which our catalogue first saw on October 7, 2026.
Bio Rna Structure Secondary Structure Prediction next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Bio Rna Structure Secondary Structure Prediction this skillGPTomics/bioSkills | 1.2k | 1 repos | ~5.9k | Automated safety check: Pass | MIT | |
| Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~3.3k | Automated safety check: Pass | MIT | |
| CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs | 13k | 7 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Paddle Design DistributedPaddlePaddle/Paddle | 24k | — | ~660 | Automated safety check: Pass | Apache-2.0 | |
| Onnxtxtonnx/onnx | 22k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Scaffold Examplecomet-ml/comet-examples | 174 | — | ~1k | Automated safety check: Pass | None |
Orchestra-Research/AI-Research-SKILLs
Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.
Orchestra-Research/AI-Research-SKILLs
Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.
PaddlePaddle/Paddle
A skill your agent uses when working with Paddle's distributed training system: understanding parallelism strategies (DP, ZeRO, TP, PP, SP), semi-automatic parallel with ProcessMesh + shardtensor…
onnx/onnx
Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.
comet-ml/comet-examples
Scaffold a brand-new Comet example in this repo from the canonical template under templates/integration-example/.
Orchestra-Research/AI-Research-SKILLs
Shows how to organize PyTorch training with Lightning's LightningModule and Trainer, covering validation, DDP, callbacks and learning-rate scheduling.
GPTomics/bioSkills
Read, write, and convert multiple sequence alignment files using Biopython Bio.AlignIO.
GPTomics/bioSkills
Installs the bioSkills collection of 425 bioinformatics skills in one step, or only chosen categories, so sequencing, RNA-seq, single-cell and variant tasks get specialized help.
GPTomics/bioSkills
Write biological sequences to files (FASTA, FASTQ, GenBank, EMBL) using Biopython Bio.SeqIO.
GPTomics/bioSkills
Soft- or hard-clips PCR primer footprints from aligned amplicon BAMs so primer bases stop masquerading as confirmed reference sequence.
GPTomics/bioSkills
Filters BAM alignments by FLAG bits, mapping quality and regions with samtools view or pysam, with recipes for common keep and drop cases.
GPTomics/bioSkills
Create and use BAI/CSI indices for BAM/CRAM files using samtools and pysam.
Works with
Categories
Predicts RNA secondary structure with ViennaRNA, treating the Boltzmann ensemble (partition function, base-pair probabilities, centroid, MEA, stochastic samples) as the object rather than a single…. Bio Rna Structure Secondary Structure Prediction is an agent skill from GPTomics/bioSkills. Predicts RNA secondary structure with ViennaRNA, treating the Boltzmann ensemble (partition function, base-pair probabilities, centroid, MEA, stochastic samples) as the object rather than a single MFE fold.
Bio Rna Structure Secondary Structure Prediction fits situations like: folding an RNA and choosing between MFE; ensemble sampling; judging whether a single structure is well-defined; folding long RNAs where a global MFE is meaningless.
Run `npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a claude-code`. Or copy the skill folder (rna-structure/secondary-structure-prediction in GPTomics/bioSkills) into .claude/skills/bio-rna-structure-secondary-structure-prediction in your project. Claude Code loads it when a task matches its description.
Run `npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a codex`. Or copy the skill folder (rna-structure/secondary-structure-prediction in GPTomics/bioSkills) into .agents/skills/bio-rna-structure-secondary-structure-prediction in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GPTomics/bioSkills --skill bio-rna-structure-secondary-structure-prediction -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bio-rna-structure-secondary-structure-prediction, .gemini/skills/bio-rna-structure-secondary-structure-prediction, .github/skills/bio-rna-structure-secondary-structure-prediction and .opencode/skills/bio-rna-structure-secondary-structure-prediction in your project.
Going by SKILL.md and its folder, Bio Rna Structure Secondary Structure Prediction needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (pip). Our summary lists: Python 3; A Bash shell.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Bio Rna Structure Secondary Structure Prediction is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.9k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Bio Rna Structure Secondary Structure Prediction: Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars), CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars), Paddle Design Distributed (PaddlePaddle/Paddle, 24k stars) and Onnxtxt (onnx/onnx, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
GPTomics (a GitHub organization) maintains it in GPTomics/bioSkills, which has 1,218 GitHub stars. The repository holds 559 skills in this directory. The repository was last updated on August 15, 2026.
Source: GPTomics/bioSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.