README.md in parse_fasta-1.6.2 vs README.md in parse_fasta-1.7.0
- old
+ new
@@ -25,11 +25,11 @@
lightweight than BioRuby. And more fun! ;)
## Documentation ##
Checkout
-[parse_fasta docs](http://rubydoc.info/gems/parse_fasta/1.6.2/frames)
+[parse_fasta docs](http://rubydoc.info/gems/parse_fasta/1.7.0/frames)
for the full api documentation.
## Usage ##
Some examples...
@@ -58,10 +58,18 @@
SeqFile.open(ARGV[0]).each_record do |head, seq|
puts [header, seq].join "\t"
end
+Read fasta file into a hash.
+
+ seqs = FastaFile.open(ARGV[0]).to_hash
+
## Versions ##
+
+### 1.7 ###
+
+Add `SeqFile#to_hash`, `FastaFile#to_hash` and `FastqFile#to_hash`.
### 1.6 ###
Added `SeqFile` class, which accepts either fastA or fastQ files. It
uses FastaFile and FastqFile internally. You can use this class if you