Script to convert qiime OTU assignment TXT file to JSON format.
##Input See otu_qiime_L6.txt file. the file should have 2 lines of header, and the sample name in the second line as the example. OTUs should be specify in order in the first column. (you can omit the last level for all lines, but you need to fill all gaps)
// valid
kingdom;phylum;class;order;family;genus
// valid
kingdom;phylum;
// ERROR
kingdom;class;family
##Install and run
- clone the repository (or download all file)
- install nodejs
- install the packages
npm install
- run the script
node qiime2json.js otu_qiime_L6.txt
##Vizualization The json output file can be used with the majority of the charts from Chi-LIB
- clonal evolution
- dendrogram
- radial
- sunburst
- treemap