blob: 3ae22ee0e284aa0d2be1de919b68aa38cbae07e1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env ruby
require 'csv'
require_relative '../../lazar/lib/lazar.rb'
puts "ID,SMILES,Mutagenicity"
i = 0
CSV.foreach(ARGV[0]) do |row|
puts [row[0],row[5],row[2]].join "," if i > 0
i += 1
end
|