Bioinformatics/Subsequence: Difference between revisions

Content added Content deleted
m (Automated syntax highlighting fixup (second round - minor fixes))
m (→‎{{header|Raku}}: Allow for later versions to work)
Line 785: Line 785:
=={{header|Raku}}==
=={{header|Raku}}==
Chances are actually pretty small that a random 4 codon string will show up at all in a random 200 codon sequence. Bump up the sequence size to get a reasonable chance of multiple matches.
Chances are actually pretty small that a random 4 codon string will show up at all in a random 200 codon sequence. Bump up the sequence size to get a reasonable chance of multiple matches.
<syntaxhighlight lang="raku" line>use String::Splice:ver<0.0.3>;
<syntaxhighlight lang="raku" line>use String::Splice:ver<0.0.3+>;


my $line = 80;
my $line = 80;
Line 825: Line 825:
AGTACTCGACTGTTATGGTAAAAGGGCATCGTGATCGTTTATATTAATCATTGGGACAGGTGGTTAATGTCA<span style="color: #CC0000;">TAGC</span>TTAG<br>
AGTACTCGACTGTTATGGTAAAAGGGCATCGTGATCGTTTATATTAATCATTGGGACAGGTGGTTAATGTCA<span style="color: #CC0000;">TAGC</span>TTAG<br>
</div>
</div>

=={{header|REXX}}==
=={{header|REXX}}==
This REXX version allows the user to specify:
This REXX version allows the user to specify: