TFBS::...mplePFM(3pm)
πΈ NAME
TFBS::PatternGen::SimplePFM β a simple position frequency matrix factory, bestie π
β¨ SYNOPSIS
my @sequences = qw( AAGCCT AGGCAT AAGCCT
AAGCCT AGGCAT AGGCCT
AGGCAT AGGTTT AGGCAT
AGGCCT AGGCCT );
my $patterngen =
TFBS::PatternGen::SimplePFM->new(-seq_list=>\@sequences);
my $pfm = $patterngen->pattern(); # $pfm is now a TFBS::Matrix::PFM object
π¦ DESCRIPTION
Okay so TFBS::PatternGen::SimplePFM does exactly what it says on the tin: it builds you a position frequency matrix out of a bunch of nucleotide sequences that are all the same length. That's the whole vibe check, no cap. π§¬
And the way you hand it those sequences? You've got options, bestie:
- as plain strings
- as Bio::Seq objects
- as a fasta file
Obsessed with the flexibility fr fr.
Heads up: this pattern generator always creates only one pattern from a given set of sequences. One set in, one pattern out. Periodt. π
π new
- Title β
new - Usage β
my $db = TFBS::PatternGen::SimplePFM->new(%args); - Function β the constructor for the
TFBS::PatternGen::SimplePFMobject - Returns β a
TFBS::PatternGen::SimplePFMobject - Args β this method takes named arguments, and you must specify one of these 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 π
π pattern
π all_patterns
π patternSet
These three methods up above are your go-to for retrieving patterns, and they're common to all TFBS::PatternGen::* classes β so like, every sibling class has them too, iykyk. For the full tea, go check out TFBS::PatternGen π«Ά
and that's the whole page, bestie!! this little icon was cooked up as part of perl v5.42.3, dated 2026-08-21 β go forth and build matrices πβ¨ππ¦πΈ
π¦ 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