TFBS::...::Elph(3pm)
β¨ NAME β¨
TFBS::PatternGen::Elph β a pattern factory that uses the Elph program π
(oh and btw this lives in the User Contributed Perl Documentation, page name TFBS::...::Elph(3pm) β hi bestie π«Ά)
πΈ SYNOPSIS πΈ
my $patterngen =
TFBS::PatternGen::Elph->new(-seq_file=>'sequences.fa',
-binary => '/Elph/elph'
-motif_length => [8, 9, 10],
-additional_params => '-x -r -e');
my $pfm = $patterngen->pattern(); # $pfm is now a TFBS::Matrix::PFM object
π DESCRIPTION π
okay so here's the lore, straight from the docs: TFBS::PatternGen::Gibbs builds position frequency matrices using an advanced Gibbs sampling algorithm implemented in an external Gibbs program by Chip Lawrence. (yes bestie, the page says Gibbs, we're just relaying the tea β no cap.) The algorithm can produce multiple patterns from a single set of sequences, which is lowkey iconic π
π new π
- Title:
new - Usage:
my $db = TFBS::PatternGen::Gibbs->new(%args); - Function: the constructor for the
TFBS::PatternGen::Gibbsobject - Returns: a
TFBS::PatternGen::Gibbsobject - Args: this method takes named arguments β and you must specify one of the following three:
-seq_listβ a reference to an array of strings and/orBio::Seqobjects- or
-seq_streamβ aBio::SeqIOobject - or
-seq_fileβ the name of the fasta file containing all the sequences
Other arguments are:
-binaryβ a fully qualified path to Gibbs executable. OPTIONAL: default'Gibbs'-nr_hitsβ a presumed number of pattern occurrences in the sequence set. it can be a single integer, e.g.-nr_hits => 24, or a reference to an array of integers, e.g.-nr_hits => [12, 24, 36]-motif_lengthβ an expected length of motif in nucleotides. it can be a single integer, e.g.-motif_length => 8, or a reference to an array of integers, e.g.-motif_length => [8..12]-additional_paramsβ a string containing additional command-line switches for the Gibbs program
π pattern
π all_patterns
π patternSet
These three methods β pattern, all_patterns, and patternSet β are used for the retrieval of patterns, and they're common to all TFBS::PatternGen::* classes. Please see TFBS::PatternGen for details π«Ά
and that's the whole page bestie, you ate it, periodt π
this was perl v5.42.3, dated 2026-08-21, and the page is TFBS::...::Elph(3pm) β mwah, go slay some motifs πβ¨
π¦ where this page comes from
- ubuntu stonking: libtfbs-perl 0.7.1+ds-6build1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms