Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
10
Task/FASTA-format/Smalltalk/fasta-format.st
Normal file
10
Task/FASTA-format/Smalltalk/fasta-format.st
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FileLocator home / aFilename readStreamDo: [ :stream |
|
||||
[ stream atEnd ] whileFalse: [
|
||||
| line |
|
||||
((line := stream nextLine) beginsWith: '>')
|
||||
ifTrue: [
|
||||
Transcript
|
||||
cr;
|
||||
show: (line copyFrom: 2 to: line size);
|
||||
show: ': ' ]
|
||||
ifFalse: [ Transcript show: line ] ] ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue