Debian Codegraph @

t/06_SimplePFM.t

raw symbols SCIP
1 #!/usr/bin/env perl -w
2
3 use TFBS::PatternGen::SimplePFMscip-perl cpan TFBS v0.5.0 TFBS/PatternGen/SimplePFM/;
4 use Testscip-perl cpan TFBS v0.5.0 Test/;
5 planscip-perl cpan TFBS v0.5.0 main/plan().(tests => 1);
6 my $matrixstring = <<ENDMATRIX
7 11 3 0 0 4 0
8 0 0 0 10 6 0
9 0 8 11 0 0 0
10 0 0 0 1 1 11
11 ENDMATRIX
12 ;
13 my $manpfm = TFBS::Matrix::PFM->newscip-perl cpan TFBS v0.5.0 TFBS/Matrix/PFM/new().(-matrixstring=>$matrixstring);
14
15
16
17 my @sequences = qw( AAGCCT AGGCAT AAGCCT
18 AAGCCT AGGCAT AGGCCT
19 AGGCAT AGGTTT AGGCAT
20 AGGCCT AGGCCT );
21 my $patterngen =
22 TFBS::PatternGen::SimplePFM->newscip-perl cpan TFBS v0.5.0 TFBS/PatternGen/SimplePFM/new().(-seq_list=>\@sequences);
23
24 my $pfm = $patternscip-perl cpan TFBS v0.5.0 TFBS/PatternGen/SimplePFM/pattern().gen->pattern(); # $pfm is now a TFBS::Matrix::PFM object
25
26 okscip-perl cpan TFBS v0.5.0 main/ok().($manpfm->rawprintscip-perl cpan TFBS v0.5.0 TFBS/Matrix/PFM/rawprint()., $pfm->rawprintscip-perl cpan TFBS v0.5.0 main/rawprint().);
27