
Bioconductor Tfbstools
TFBSTools is a package for the analysis and manipulation of transcription factor...
Install
npx skills add bioMate-AI/biomate-bioconductor-kb --skill bioconductor-tfbstools -g -a claude-code -y- Repository
- bioMate-AI/biomate-bioconductor-kb793
- Category
- Engineering
- Updated
- 5mo ago
- License
- See repository
- Context cost
- Lightabout 1,230 tokens
- Runs scripts
- No, instructions only
What it does
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
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
toPWMandtoICM. - Motif Scanning: Scanning nucleotide sequences or pairwise alignments for transcription factor binding sites using
searchSeqorsearchAln. - 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
permuteMatrixandrPWMDmm. - 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
motifmatchrinstead, becausesearchSeqis optimized for targetedDNAStringorDNAStringSetobjects rather than massiveGRangespeak sets. - For de novo motif discovery without external dependencies, use
universalmotifbecauserunMEMErequires the external MEME suite to be installed on the system.
Data Requirements
- Input Format:
PFMatrixobjects,DNAStringorDNAStringSetfor sequences, andAxtobjects 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.
