gb2qiime
Issue #1
resolved
Great about the script for Shannon.
Just browsing through. In line 212, what about using
r.get('phylum_reg','p__')
instead of
r['phylum_reg'] if r['phylum_reg'] else 'p__',
I can't tell if you need to script in the retrieval of the taxonomic hierarchy, but I have some scripts using the Entrez API which can do that. Let me know.
Comments (3)
-
-
I just tried that change and it doesn't work for these dictionaries as the keys exist with empty strings as the values. It seems that my Perlish idiom works for this situation!
-
- changed status to resolved
Closed the issue based on the last comment.
- Log in to comment
Yes, that is much more pythonic!
I don't think Shannon needs the full taxonomy for what she is doing in Qiiime.