Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Krosh
    Junior Member
    • Feb 2011
    • 8

    efetch problem

    Using VBA I download fasta file with
    http://eutils.ncbi.nlm.nih.gov/entre...re&id=21614549, ..................&rettype=fasta

    Problem in that file is not downloaded when I use very long Url with many IDs. Error is "Request URL too large".

    On http://www.ncbi.nlm.nih.gov/sites/batchentrez I have no problem with downloading.
    Last edited by Krosh; 09-12-2013, 05:21 AM.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    See the quote from E-utilities help page below. Are you submitting more than 200 UID?

    UID list. Either a single UID or a comma-delimited list of UIDs may be provided. All of the UIDs must be from the database specified by db. There is no set maximum for the number of UIDs that can be passed to EFetch, but if more than about 200 UIDs are to be provided, the request should be made using the HTTP POST method.
    This link may be useful for creating POST requests: http://stackoverflow.com/questions/4...efox-or-chrome
    Last edited by GenoMax; 09-12-2013, 05:44 AM.

    Comment

    • Krosh
      Junior Member
      • Feb 2011
      • 8

      #3
      Yes, I downloaded more than 200 UIDs and I used HTTP POST method.
      Problem not in number of UIDs because I have downloaded for example 500 UIDs but in URL length.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        According to Wikipedia (link) the limit is

        The limit is configurable on Apache2 using the LimitRequestBody directive, which specifies the number of bytes from 0 (meaning unlimited) to 2147483647 (2 GB) that are allowed in a request body.
        So if you are running into "request URL too large" then you are likely hitting the limit set by NCBI. I would think that you will have to run multiple queries staying under that limit.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          New Genomics Tools and Methods Shared at AGBT 2025
          by seqadmin


          This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

          The Headliner
          The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
          03-03-2025, 01:39 PM
        • seqadmin
          Investigating the Gut Microbiome Through Diet and Spatial Biology
          by seqadmin




          The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
          02-24-2025, 06:31 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 05:03 AM
        0 responses
        15 views
        0 reactions
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 07:27 AM
        0 responses
        12 views
        0 reactions
        Last Post seqadmin  
        Started by seqadmin, 03-18-2025, 12:50 PM
        0 responses
        14 views
        0 reactions
        Last Post seqadmin  
        Started by seqadmin, 03-03-2025, 01:15 PM
        0 responses
        185 views
        0 reactions
        Last Post seqadmin  
        Working...