Sha256: a77c19126ffcfb8246a416b83f05be127065da3fa0df8c8436868187535e2a28

Contents?: true

Size: 607 Bytes

Versions: 6

Compression:

Stored size: 607 Bytes

Contents

#!/usr/bin/ruby

require 'optparse'
require 'spec_id/sqt'

$OUTFILE = 'bioworks.sqg'

opts = OptionParser.new do |op|
  op.banner = "usage: #{File.basename(__FILE__)} <file1>.sqt <file2>.sqt ..."
  op.separator "outputs: 'bioworks.sqg'"
  op.separator ""
  op.separator "    A '.sqg' file is an ascii text file with a list"
  op.separator "    of the sqt files (full path names) in that group."
  op.separator ""
  op.on('-o', '--output <filename>', 'a different output name') {|v| $OUTFILE }
end

if ARGV.size == 0
  puts opts
  exit
end

obj = SQTGroup.new
obj.filenames = ARGV.to_a
obj.to_sqg($OUTFILE)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mspire-0.4.9 bin/sqt_group.rb
mspire-0.3.9 bin/sqt_group.rb
mspire-0.4.2 bin/sqt_group.rb
mspire-0.4.4 bin/sqt_group.rb
mspire-0.4.5 bin/sqt_group.rb
mspire-0.4.7 bin/sqt_group.rb