Skip to content

urllib2.HTTPError: HTTP Error 414: Request-URI Too Large #1

Description

@tramaraj

Hi -

I am trying to use the script kt_summarize.py to plot Kraken output with Krona. For some kraken report files it works fine, but from some kraken output files I get the following error message,

python ktoolu/kt_summarize.py --draw-krona-plot KRONA_PLOT.html --path-to-krona kronatools/KronaTools-2.6/bin/ --write-summary KRONA_SUMMARY kraken-report.txt
Traceback (most recent call last):
File "ktoolu/kt_summarize.py", line 122, in
if name == 'main': main()
File "ktoolu/kt_summarize.py", line 81, in main
taxInfoDict = {tinfo['TaxId']: [tinfo, taxCounter[tinfo['TaxId']]] for tinfo in fetchTaxonomyData(taxids)}
File "ktoolu/kt_summarize.py", line 38, in fetchTaxonomyData
handle = Entrez.efetch(db='Taxonomy', id=','.join(ids), retmode='xml')
File "/sw/python/2.7.1/lib/python2.7/site-packages/Bio/Entrez/init.py", line 139, in efetch
return _open(cgi, variables)
File "/sw/python/2.7.1/lib/python2.7/site-packages/Bio/Entrez/init.py", line 455, in _open
raise exception
urllib2.HTTPError: HTTP Error 414: Request-URI Too Large

Any thoughts on how to get this rectified.

Thank You.
TR

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions