Sha256: cc6298357d7520008db3b3af905ced762053bbfaacb476915e9acacaac5810a8

Contents?: true

Size: 110 Bytes

Versions: 193

Compression:

Stored size: 110 Bytes

Contents

function! ToRna(strand) abort
  return a:strand =~# '[^CGTA]' ? '' : tr(a:strand, 'CGTA', 'GCAU')
endfunction

Version data entries

193 entries across 193 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.158 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.157 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.156 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.155 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.154 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.153 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.152 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.151 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.150 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.149 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.148 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.147 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.146 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.145 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.144 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.143 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.142 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.141 tracks/vimscript/exercises/rna-transcription/example.vim
trackler-2.2.1.140 tracks/vimscript/exercises/rna-transcription/example.vim