gb2qiime

Issue #1 resolved
Steve Haddock repo owner created an issue

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)

  1. Mike McCann

    Yes, that is much more pythonic!

    I don't think Shannon needs the full taxonomy for what she is doing in Qiiime.

  2. Mike McCann

    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!

  3. Log in to comment