Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrp committed Apr 26, 2013
1 parent 1249372 commit ae5c7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -103,7 +103,7 @@ want to use STDIN or some other source instead? I have come round to
the idea of using a combination of lambda and block. For example:

```ruby
FastaReader::emit_seq(-> {gets}) { |rec|
FastaReader::emit_fastarecord(-> {gets}) { |rec|
print FastaWriter.to_fasta(rec)
}
```
Expand All @@ -116,7 +116,7 @@ functions. Note also that the data is never fully loaded into RAM.
Here the transformer functional style

```ruby
FastaReader::emit_seq(-> {gets}) { |rec|
FastaReader::emit_fastarecord(-> {gets}) { |rec|
(id1,id2) = /(\S+)\s+(\S+)/.match(rec.descr)
print FastaWriter.to_fasta(id2,req.seq)
}
Expand Down

0 comments on commit ae5c7b2

Please sign in to comment.