Method: IndexedAceFile#create_index_file

Defined in:
lib/scbi_ace/indexed_ace_file.rb

#create_index_file(index_file_name) ⇒ Object



136
137
138
139
140
141
142
143
# File 'lib/scbi_ace/indexed_ace_file.rb', line 136

def create_index_file(index_file_name)

  puts "creating index file #{index_file_name}"

  @index_file = File.open(index_file_name,'w+')
  @index_file.puts(create_contig_indexes.join("\n"))
  @index_file.close
end