[BioRuby] mask on Ilumina-format
Tomoaki NISHIYAMA
tomoakin at kenroku.kanazawa-u.ac.jp
Tue Mar 29 04:36:05 UTC 2011
Hi Endoh-san,
What version of bioruby library are you using?
> entry.mask returns undefined method `mask' for
> #<Bio::Fastq:0x7f1eb5d9dc28> (NoMethodError)
Based on the history at github
https://github.com/bioruby/bioruby/commits/master/lib/bio/db/fastq.rb
the mask method was defined on August 11, 2010.
So, any prior version does not define the method mask, but later
versions
like 1.4.1 should have the method.
> p entry.format returns nil
In the rdoc you mentioned, select Bio::Fastq
in the upper middle column and you will find the following explanation:
format()
Format name. One of “fastq-sanger”, “fastq-solexa”, “fastq-
illumina”, or nil (when not specified).
Returns:(String or nil) format name
So, getting nil for unspecified format seems what is expected.
--
Tomoaki NISHIYAMA
Advanced Science Research Center,
Kanazawa University,
13-1 Takara-machi,
Kanazawa, 920-0934, Japan
More information about the BioRuby
mailing list