Bio Small Rna Seq Target Prediction
Predict miRNA target genes using sequence-based algorithms and database lookups. Use when identifying potential mRNA targets of differentially expressed or functionally important miRNAs.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install openclaw-medical-bio-small-rna-seq-target-predictionManual setup by platform
Claude Code
~/.claude/skills/openclaw-medical-bio-small-rna-seq-target-prediction/SKILL.md
Instructions
miRNA Target Prediction
miRanda Algorithm
# Run miRanda for target prediction
miranda miRNA.fa UTRs.fa \
-sc 140 \
-en -20 \
-out predictions.txt
# Options:
# -sc 140: Minimum alignment score (default 140)
# -en -20: Maximum free energy threshold (kcal/mol)
# Higher score and lower energy = stronger prediction
Parse miRanda Output
import pandas as pd
def parse_miranda(output_file):
'''Parse miRanda output file'''
results = []
with open(output_file) as f:
for line in f:
if line.startswith('>'):
parts = line.strip().split('\t')
if len(parts) >= 5:
results.append({
'mirna': parts[0].lstrip('>'),
'target': parts[1],
'score': float(parts[2]),
'energy': float(parts[3]),
'position': parts[4]
})
return pd.DataFrame(results)
TargetScan Database Lookup
import requests
import pandas as pd
def query_targetscan(mirna_family):
'''Query TargetScan for predicted targets
Note: TargetScan uses miRNA family names (e.g., miR-21-5p)
'''
# TargetScan provides downloadable files
# For human: https://www.targetscan.org/vert_80/vert_80_data_download/
targetscan_file = 'Predicted_Targets_Context_Scores.txt'
df = pd.read_csv(targetscan_file, sep='\t')
targets = df[df['miRNA family'] == mirna_family]
return targets.sort_values('context++ score')
miRDB Database Lookup
def query_mirdb(mirna_id):
'''Query miRDB for target predictions
miRDB uses machine learning for target prediction
Score > 80 indicates high confidence
'''
# Download from http://mirdb.org/download.html
mirdb_file = 'miRDB_v6.0_prediction_result.txt'
df = pd.read_csv(mirdb_file, sep='\t', header=None,
names=['mirna', 'target', 'score'])
targets = df[df['mirna'] == mirna_id]
return targets[targets['score'] >= 80].sort_values('score', ascending=False)
Combine Multiple Databases
def consensus_targets(mirna, min_databases=2):
'''Find targets predicted by multiple databases
More reliable targets are predicted by multiple algorithms
'''
miranda_targets = set(query_miranda_targets(mirna))
targetscan_targets = set(query_targetscan_targets(mirna))
mirdb_targets = set(query_mirdb_targets(mirna))
# Count predictions per target
all_targets = miranda_targets | targetscan_targets | mirdb_targets
consensus = []
for target in all_targets:
count = sum([
target in miranda_targets,
target in targetscan_targets,
target in mirdb_targets
])
if count >= min_databases:
consensus.append({
'target': target,
'n_databases': count,
'miranda': target in miranda_targets,
'targetscan': target in targetscan_targets,
'mirdb': target in mirdb_targets
})
return pd.DataFrame(consensus).sort_values('n_databases', ascending=False)
Python miRNA Target Prediction
# Using mirtarbase package for validated targets
def get_validated_targets(mirna):
'''Get experimentally validated targets from miRTarBase'''
# Download from https://mirtarbase.cuhk.edu.cn/
mirtarbase_file = 'miRTarBase_MTI.xlsx'
df = pd.read_excel(mirtarbase_file)
validated = df[df['miRNA'] == mirna]
return validated[['Target Gene', 'Experiments', 'Support Type']]
Seed Match Analysis
from Bio.Seq import Seq
def find_seed_matches(mirna_seq, utr_seq):
'''Find seed matches in UTR sequence
Seed region: positions 2-8 of miRNA (7-mer)
'''
mirna = Seq(mirna_seq)
utr = Seq(utr_seq)
# Get seed (positions 2-8, 0-indexed: 1-7)
seed = str(mirna[1:8])
seed_rc = str(Seq(seed).reverse_complement())
matches = []
start = 0
while True:
pos = str(utr).find(seed_rc, start)
if pos == -1:
break
matches.append(pos)
start = pos + 1
return matches
Functional Enrichment of Targets
def enrich_target_genes(targets, background=None):
'''Run GO enrichment on predicted target genes'''
import gseapy as gp
enr = gp.enrichr(
gene_list=targets,
gene_sets=['GO_Biological_Process_2021', 'KEGG_2021_Human'],
organism='Human'
)
return enr.results
Related Skills
- differential-mirna - Get DE miRNAs for target prediction
- pathway-analysis/go-enrichment - Enrich target gene functions
- database-access/entrez-fetch - Query biological databases
Security
Reviews (0)
Related skills
Browse all →More from OpenClaw Medical
View source →More Build skills
Browse category →Frequently asked questions about bio-small-rna-seq-target-prediction
What does the bio-small-rna-seq-target-prediction skill do?
Predict miRNA target genes using sequence-based algorithms and database lookups. Use when identifying potential mRNA targets of differentially expressed or functionally important miRNAs. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the bio-small-rna-seq-target-prediction skill?
Run `npx @skills-hub-ai/cli install openclaw-medical-bio-small-rna-seq-target-prediction` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/openclaw-medical-bio-small-rna-seq-target-prediction/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does bio-small-rna-seq-target-prediction work with?
bio-small-rna-seq-target-prediction runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the bio-small-rna-seq-target-prediction skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use bio-small-rna-seq-target-prediction after installing it?
In Claude Code, type `/openclaw-medical-bio-small-rna-seq-target-prediction` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the bio-small-rna-seq-target-prediction skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.