Class: CagnutToolbox::Util
- Inherits:
-
Object
- Object
- CagnutToolbox::Util
- Defined in:
- lib/cagnut_toolbox/util.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#toolbox ⇒ Object
Returns the value of attribute toolbox.
Instance Method Summary collapse
-
#initialize(configure) ⇒ Util
constructor
A new instance of Util.
- #qseq2fastq(dirs, order = 1) ⇒ Object
Constructor Details
#initialize(configure) ⇒ Util
Returns a new instance of Util.
5 6 7 8 |
# File 'lib/cagnut_toolbox/util.rb', line 5 def initialize configure @config = configure @toolbox = CagnutToolbox::Base.new end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
3 4 5 |
# File 'lib/cagnut_toolbox/util.rb', line 3 def config @config end |
#toolbox ⇒ Object
Returns the value of attribute toolbox.
3 4 5 |
# File 'lib/cagnut_toolbox/util.rb', line 3 def toolbox @toolbox end |
Instance Method Details
#qseq2fastq(dirs, order = 1) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/cagnut_toolbox/util.rb', line 10 def qseq2fastq dirs, order=1 if check_files job_name, filename = toolbox.qseq2fastq dirs, order [job_name, filename, order+1] else [nil, nil, order] end end |