Sha256: 6179f70d818b0c2b11649a66edad1e48ae011147a8a00f6a123c95a8062fc9b2

Contents?: true

Size: 1020 Bytes

Versions: 8

Compression:

Stored size: 1020 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
require 'tempfile'

Bio::Log::CLI.logger('stderr'); Bio::Log::CLI.trace('debug'); log = Bio::Log::LoggerPlus.new('finishm'); Bio::Log::CLI.configure('finishm'); Bio::Log::CLI.configure('bio-velvet')


describe "ReadInput" do
  it 'should output correct fasta velvet singles' do
    input = Bio::FinishM::ReadInput.new
    input.fasta_singles = ['my.fasta']
    input.velvet_read_arguments.should == ' -fasta -short my.fasta'
    input.fasta_singles = ['my.fasta','another.fasta']
    input.velvet_read_arguments.should == ' -fasta -short my.fasta another.fasta'
  end

#   it 'should handle interleaved pairs' do
#     input = Bio::FinishM::ReadInput.new
#     input.interleaved_fastq = ['my.fastq']
#     input.velvet_read_arguments.should == ' -fastq -shortPaired my.fastq'
#     input.interleaved_fastq_gz = ['my.fastq','fq2']
#     input.velvet_read_arguments.should == ' -fastq -shortPaired my.fastq -fastq.gz -shortPaired my.fastq fq2'
#   end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
finishm-0.0.9 spec/read_input_spec.rb
finishm-0.0.8 spec/read_input_spec.rb
finishm-0.0.7 spec/read_input_spec.rb
finishm-0.0.6 spec/read_input_spec.rb
finishm-0.0.5 spec/read_input_spec.rb
finishm-0.0.4 spec/read_input_spec.rb
finishm-0.0.2 spec/read_input_spec.rb
finishm-0.0.1 spec/read_input_spec.rb