SkillAgentSearch skills...

bio-differential-splicing

Detects differential alternative splicing between conditions using rMATS-turbo (BAM-based) or SUPPA2 diffSplice (TPM-based). Reports events with FDR-corrected significance and delta PSI effect sizes

Install / Use

npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-differential-splicing

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

89/100

Supported Platforms

Universal

Our assessment of bio-differential-splicing

bio-differential-splicing scores 89/100 on our quality scale, 1583rd of 4,700 Development & Engineering skills we index (top 34%).

Its SKILL.md is 5.9 KB long, well organised into 32 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.

With 3,034 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
15/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • Our last check on 2026-10-31 found the source still online.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 86/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-29. Automated pattern scan on 2026-09-29. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

bio-differential-splicing compared with similar skills

All 4 of these similar skills score higher than bio-differential-splicing; compare them before choosing.

SkillScoreStarsUpdatedFormat
bio-differential-splicing (this skill)by FreedomIntelligence893.0k4mo agoSKILL.md
taste-skillby Leonxlnx100116.8k8d agoCLAUDE.md
Agent-Reachby Panniantong100112.3k9d agoCLAUDE.md
headroomby headroomlabs-ai10079.8ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10072.1ktodayCLAUDE.md

Frequently asked questions

How do I install bio-differential-splicing?
Run npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-differential-splicing. The install tabs above show the steps for each supported agent.
Which AI agents does bio-differential-splicing work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is bio-differential-splicing safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 86/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is bio-differential-splicing still maintained?
The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.

name: bio-differential-splicing description: Detects differential alternative splicing between conditions using rMATS-turbo (BAM-based) or SUPPA2 diffSplice (TPM-based). Reports events with FDR-corrected significance and delta PSI effect sizes. Use when comparing splicing patterns between treatment groups, tissues, or disease states. tool_type: mixed primary_tool: rMATS-turbo

Version Compatibility

Reference examples tested with: STAR 2.7.11+, pandas 2.2+

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures
  • R: packageVersion('<pkg>') then ?function_name to verify parameters
  • CLI: <tool> --version then <tool> --help to confirm flags

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Differential Splicing

Detect differential alternative splicing events between experimental conditions.

Tool Comparison

| Tool | Input | Approach | Strengths | |------|-------|----------|-----------| | rMATS-turbo | BAM | Junction counting | Novel junctions, statistical model | | SUPPA2 | TPM | Transcript ratios | Speed, isoform-aware | | leafcutter | BAM | Intron clustering | Novel events, no annotation bias |

rMATS-turbo Analysis

Goal: Detect statistically significant differential splicing events between two conditions from BAM files.

Approach: Run rMATS-turbo on condition-grouped BAMs, then filter results by FDR and delta PSI thresholds.

"Find differential splicing between conditions" -> Compare junction-level inclusion across sample groups with statistical testing.

  • CLI/Python: rmats.py + pandas filtering (rMATS-turbo)
  • Python/CLI: suppa.py diffSplice (SUPPA2, TPM-based)
  • R: leafcutter_ds.R (leafcutter, annotation-free)
# Create sample lists (one BAM path per line)
# condition1_bams.txt: /path/to/sample1.bam, /path/to/sample2.bam, ...
# condition2_bams.txt: /path/to/sample3.bam, /path/to/sample4.bam, ...

rmats.py \
    --b1 condition1_bams.txt \
    --b2 condition2_bams.txt \
    --gtf annotation.gtf \
    -t paired \
    --readLength 150 \
    --nthread 8 \
    --od rmats_output \
    --tmp rmats_tmp
import pandas as pd

# Load results for skipped exons
se = pd.read_csv('rmats_output/SE.MATS.JC.txt', sep='\t')

# Filter significant differential splicing events
# |deltaPSI| > 0.1 (lenient) or > 0.2 (stringent)
# FDR < 0.05
significant = se[
    (se['FDR'] < 0.05) &
    (se['IncLevelDifference'].abs() > 0.1)
].copy()

print(f'{len(significant)} significant SE events')
print(significant[['GeneID', 'geneSymbol', 'IncLevelDifference', 'FDR']].head(10))

# Additional filtering by junction read support
# Require at least 10 reads supporting each junction type
significant = significant[
    (significant['IJC_SAMPLE_1'].str.split(',').apply(lambda x: min(map(int, x))) >= 10) |
    (significant['SJC_SAMPLE_1'].str.split(',').apply(lambda x: min(map(int, x))) >= 10)
]

SUPPA2 Differential Analysis

Goal: Identify differential splicing from transcript quantification without alignment.

Approach: Compare per-event PSI distributions between conditions using SUPPA2 empirical p-value calculation.

import subprocess

# Requires PSI files from suppa.py psiPerEvent
# TPM file with samples from both conditions

# Run differential splicing
subprocess.run([
    'suppa.py', 'diffSplice',
    '-m', 'empirical',  # Empirical p-value calculation
    '-i', 'events_SE_strict.ioe',
    '-p', 'condition1.psi', 'condition2.psi',
    '-e', 'condition1.tpm', 'condition2.tpm',
    '-o', 'diff_SE'
], check=True)

# Load results
import pandas as pd
diff = pd.read_csv('diff_SE.dpsi', sep='\t', index_col=0)

# SUPPA2 tends to be more stringent
significant = diff[
    (diff['p-value'] < 0.05) &
    (diff['dPSI'].abs() > 0.1)
]

leafcutter Analysis

Goal: Detect differential intron usage without relying on transcript annotation.

Approach: Extract junctions from BAMs, cluster introns by shared splice sites, then test differential usage between groups.

library(leafcutter)

# Convert BAMs to junction files
# leafcutter_bam_to_junc.sh uses regtools
system('for bam in *.bam; do
    regtools junctions extract -a 8 -m 50 -s 0 $bam -o ${bam%.bam}.junc
done')

# Create junction file list
writeLines(list.files(pattern = '\\.junc$'), 'juncfiles.txt')

# Cluster introns
system('python leafcutter_cluster_regtools.py -j juncfiles.txt -o leafcutter')

# Run differential analysis
groups <- data.frame(
    sample = c('sample1', 'sample2', 'sample3', 'sample4'),
    group = c('control', 'control', 'treatment', 'treatment')
)
write.table(groups, 'groups.txt', sep = '\t', quote = FALSE, row.names = FALSE)

# Differential intron usage
system('leafcutter_ds.R --num_threads 4 leafcutter_perind_numers.counts.gz groups.txt')

Significance Thresholds

| Stringency | deltaPSI | FDR | Use Case | |------------|----------|-----|----------| | Lenient | > 0.1 | < 0.05 | Discovery, exploratory | | Standard | > 0.15 | < 0.05 | Publication | | Stringent | > 0.2 | < 0.01 | High-confidence set |

Result Prioritization

Goal: Rank differential splicing events by combined statistical and biological significance.

Approach: Compute a composite score from FDR and effect size, then select top-scoring events for follow-up.

# Prioritize by effect size and significance
significant['score'] = -np.log10(significant['FDR']) * significant['IncLevelDifference'].abs()
top_events = significant.nlargest(50, 'score')

# Annotate with gene function
# Consider protein domain disruption, NMD sensitivity

Related Skills

  • splicing-quantification - Calculate PSI values first
  • isoform-switching - Functional consequence analysis
  • sashimi-plots - Visualize significant events
  • read-alignment/star-alignment - STAR 2-pass alignment required

Related Skills

View on GitHub
GitHub Stars3.0k
CategoryDevelopment
Updated3mo ago
Forks413

Languages

Python

Trust signals

86/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium1 info
bio-differential-splicing — Universal Skill: Install & Safety Check | SkillAgent