Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
22
Task/FASTA-format/Ring/fasta-format.ring
Normal file
22
Task/FASTA-format/Ring/fasta-format.ring
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Project : FAST format
|
||||
|
||||
a = ">Rosetta_Example_1
|
||||
THERECANBENOSPACE
|
||||
>Rosetta_Example_2
|
||||
THERECANBESEVERAL
|
||||
LINESBUTTHEYALLMUST
|
||||
BECONCATENATED"
|
||||
|
||||
i = 1
|
||||
while i <= len(a)
|
||||
if substr(a,i,17) = ">Rosetta_Example_"
|
||||
see nl
|
||||
see substr(a,i,18) + ": " + nl
|
||||
i = i + 17
|
||||
else
|
||||
if ascii(substr(a,i,1)) > 20
|
||||
see a[i]
|
||||
ok
|
||||
ok
|
||||
i = i + 1
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue