def write_krona_plot(self, sample_names, read_taxonomies, output_krona_filename):
tempfiles = []<EOL>for n in sample_names:<EOL><INDENT>tempfiles.append(tempfile.NamedTemporaryFile(prefix='<STR_LIT>', suffix=n))<EOL><DEDENT>delim=u'<STR_LIT:\t>'<EOL>for _, tax, counts in self._iterate_otu_table_rows(read_taxonomies):<EOL><INDENT>for i, c in enumerate(counts):<EOL><INDENT>if c != <NUM_LIT:0>:<EOL><INDENT>tempfiles[i].write(delim.join((str(c),<EOL>delim.join(tax)<EOL>))+"<STR_LIT:\n>")<EOL><DEDENT><DEDENT><DEDENT>for t in tempfiles:<EOL><INDENT>t.flush()<EOL><DEDENT>cmd = ["<STR_LIT>",'<STR_LIT>',output_krona_filename]<EOL>for i, tmp in enumerate(tempfiles):<EOL><INDENT>cmd.append('<STR_LIT:U+002C>'.join([tmp.name,sample_names[i]]))<EOL><DEDENT>cmd = '<STR_LIT:U+0020>'.join(cmd)<EOL>extern.run(cmd)<EOL>for t in tempfiles:<EOL><INDENT>t.close()<EOL><DEDENT>
Creates krona plot at the given location. Assumes the krona executable
        ktImportText is available on the shell PATH