Skip to content

Commit

Permalink
TODO; this is funky; Qiime2 specific code
Browse files Browse the repository at this point in the history
This was added so that Q2 didn’t have trouble parsing the taxonomy file. Should probably be removed eventually.
  • Loading branch information
JTFouquier committed Apr 20, 2018
1 parent 1039054 commit f3a263d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ghosttree/scaffold/hybridtree.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ def _create_taxonomy_dict(extension_taxonomy_fh, graft_level):
accession_id_list = []
taxonomy_list = []
for line in extension_taxonomy_fh:
# Qiime2 specific
if re.search("Feature ID", line):
continue
splitline = line.split('\t')
accession = splitline[0].strip()
taxonomy_line = splitline[1].strip()
Expand Down

0 comments on commit f3a263d

Please sign in to comment.