Bioinformatics/Subsequence: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: moved some code to subroutines.) |
m (corrected a misspelling in the task's preamble, changed wording, added whitespace before the TOC.) |
||
Line 1: | Line 1: | ||
{{Draft task}} |
{{Draft task}} |
||
;Task: |
;Task: |
||
Randomly generate a string of '''200''' DNA protein elements (represented by '''A, C, G,''' and '''T'''). |
|||
Genarate randomly a string (200 elements) of characters '''A, C, G, and T''' representing a '''DNA''' sequence write a routine to find the position of subsequence (also generating randomly). |
|||
<br> Let length of subsequence equal to '''4''' |
|||
Write a routine to find all the positions of a randomly generated subsequence (four letters). |
|||
<br><br> |
|||
=={{header|Raku}}== |
=={{header|Raku}}== |