Bioconductor Tfbstools logo

Bioconductor Tfbstools

Organization
bioMate-AI
bioconductor-tfbstools

TFBSTools is a package for the analysis and manipulation of transcription factor binding sites. It includes matrices conversion between Position Frequency Matirx (PFM), Position Weight Matirx (PWM) and Information Content Matrix (ICM). It c

Overview

PublisherbioMate-AI
Repositorybiomate-bioconductor-kb
Skill namebioconductor-tfbstools
Stars
804
Forks
66
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by bioMate-AI on GitHub. Read the source before you install it.

Installation

Install the Bioconductor Tfbstools AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/genomics/tfbstools
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bioMate-AI/biomate-bioconductor-kb.git /tmp/biomate-bioconductor-kb
mkdir -p .claude/skills
cp -r /tmp/biomate-bioconductor-kb/skills/genomics/tfbstools .claude/skills/bioconductor-tfbstools
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bioconductor Tfbstools in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bioconductor Tfbstools on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bioconductor Tfbstools is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

TFBSTools

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 1.50.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Imports: Biobase, Biostrings, pwalign, BiocGenerics, BiocParallel, BSgenome, caTools, DirichletMultinomial, Seqinfo, GenomicRanges, gtools, IRanges, DBI, RSQLite, rtracklayer, seqLogo, S4Vectors, TFMPvalue, XML, XVector
  • Install: BiocManager::install("TFBSTools")

When to Use

  • Matrix Conversion: Converting Position Frequency Matrices (PFMs) to Position Weight Matrices (PWMs) or Information Content Matrices (ICMs) using toPWM and toICM.
  • Motif Scanning: Scanning nucleotide sequences or pairwise alignments for transcription factor binding sites using searchSeq or searchAln.
  • Database Querying: Querying and retrieving matrix data from the JASPAR database using getMatrixSet.
  • Random Profile Generation: Generating random profile matrices via permutation or Dirichlet multinomial mixture models using permuteMatrix and rPWMDmm.
  • Visualization: Visualizing sequence logos for basic PWMs or Transcription Factor Flexible Models (TFFMs) using seqLogo.

When NOT to Use

  • For high-throughput scanning of thousands of large genomic regions, use motifmatchr instead, because searchSeq is optimized for targeted DNAString or DNAStringSet objects rather than massive GRanges peak sets.
  • For de novo motif discovery without external dependencies, use universalmotif because runMEME requires the external MEME suite to be installed on the system.

Data Requirements

  • Input Format: PFMatrix objects, DNAString or DNAStringSet for sequences, and Axt objects for alignments.
  • Structure: 4-row matrices representing A, C, G, T counts or probabilities.
  • Normalization State: Raw position frequency counts for PFMs, which are then converted to log2 probability ratios for PWMs.

Key Parameters

  • type (default): The type of matrix conversion in toPWM (e.g., "log2probratio") or the type of p-value calculation in pvalues (e.g., "TFMPvalue").
  • pseudocounts (default): Numeric value (default 0.8) added to correct small counts or eliminate zero values before log transformation in toPWM.
  • bg (default): A named numeric vector representing background nucleotide frequencies (e.g., c(A=0.25, C=0.25, G=0.25, T=0.25)).
  • min.score (default): Minimum score threshold (e.g., "60%" or "80%") for a sequence match to be reported in searchSeq or searchAln.
  • schneider (default): Logical in toICM indicating whether to apply the Schneider correction.
  • strand (default): Controls which strand is searched in searchSeq (e.g., "*" for both strands).

Best Practices

  • Use pseudocounts=0.8 in toPWM rather than the square root of sequences to avoid overly harsh corrections on zero values.
  • When scanning sequences with searchSeq, use pvalues with type="TFMPvalue" to calculate empirical p-values for the match scores.
  • Use writeGFF3 or writeGFF2 to export SiteSet objects into standard genomic formats for downstream visualization.

Common Pitfalls

  • Pitfall: runMEME fails to execute.
    Fix: Ensure the external MEME software suite is installed and the binary argument correctly points to the executable.
  • Pitfall: searchSeq returns too many false positive hits.
    Fix: Increase the min.score threshold (e.g., from "60%" to "90%") to enforce stricter matching.
  • Pitfall: toPWM throws an error due to zero counts.
    Fix: Ensure pseudocounts is set to a positive value (like 0.8) to eliminate zero values before log transformation.

Alternatives

  • motifmatchr: For faster, parallelized motif scanning across large GRanges objects.
  • universalmotif: For comprehensive motif manipulation and de novo discovery without relying strictly on external binaries like MEME.
  • Biostrings: For basic PWM matching (matchPWM), though it lacks the advanced statistical models and TFFM support of TFBSTools.

Citations

  • Tan G, Lenhard B (2016). TFBSTools: an R/Bioconductor package for transcription factor binding site analysis. Bioinformatics.
  • Mathelier and Wasserman (2013). The next generation of transcription factor binding site, TFFM.

References


Run this on BioMate

This skill is the knowledge layer — when, why, and how to use tfbstools. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open tfbstools on BioMate →

Frequently asked questions

What does the Bioconductor Tfbstools AI skill do?

TFBSTools is a package for the analysis and manipulation of transcription factor binding sites. It includes matrices conversion between Position Frequency Matirx (PFM), Position Weight Matirx (PWM) and Information Content Matrix (ICM). It c

Why use Bioconductor Tfbstools on TypingMind?

Because you install it once and use it with any model. Bioconductor Tfbstools is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bioconductor Tfbstools in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/genomics/tfbstools. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bioconductor Tfbstools?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bioconductor Tfbstools?

As many as you like. As long as a model supports skills, you can use Bioconductor Tfbstools with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bioconductor Tfbstools AI skill free?

It is published on GitHub by bioMate-AI. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇