{"action":"opened","issue":{"url":"https://api.github.com/repos/biocore/qiime/issues/1974","labels_url":"https://api.github.com/repos/biocore/qiime/issues/1974/labels{/name}","comments_url":"https://api.github.com/repos/biocore/qiime/issues/1974/comments","events_url":"https://api.github.com/repos/biocore/qiime/issues/1974/events","html_url":"https://github.com/biocore/qiime/issues/1974","id":69004496,"number":1974,"title":"The taxonomy level of make_otu_network.py should not be hardcoded.","user":{"login":"johnchase","id":2243771,"avatar_url":"https://avatars.githubusercontent.com/u/2243771?v=3","gravatar_id":"","url":"https://api.github.com/users/johnchase","html_url":"https://github.com/johnchase","followers_url":"https://api.github.com/users/johnchase/followers","following_url":"https://api.github.com/users/johnchase/following{/other_user}","gists_url":"https://api.github.com/users/johnchase/gists{/gist_id}","starred_url":"https://api.github.com/users/johnchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnchase/subscriptions","organizations_url":"https://api.github.com/users/johnchase/orgs","repos_url":"https://api.github.com/users/johnchase/repos","events_url":"https://api.github.com/users/johnchase/events{/privacy}","received_events_url":"https://api.github.com/users/johnchase/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-16T20:34:45Z","updated_at":"2015-04-16T20:34:45Z","closed_at":null,"body":"When running `make_otu_network.py` The taxonomy level in the output is always level 6. This should either be user defined, or the default should be all levels of taxonomy. The latter is probably the better solution as the user could then determine taxonomy level with `summarize_taxa.py`\r\n\r\nThis come from line 144 in qiime/make_otu_network.py\r\n`con = ':'.join(otu_md['taxonomy'][:6])`\r\n\r\nThis should be able to fixed by removing the slice index like so:\r\n`con = ':'.join(otu_md['taxonomy'])`\r\n\r\nIt is possible that there is a reason the script only selects to the 6th level of taxonomy that I am missing though."}}