Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kga1978
    Senior Member
    • Nov 2010
    • 100

    #1

    Usearch error - "Sequence too long"

    Hi All,

    I am trying to create a usearch udb database of hg19 using the following:

    Code:
    usearch -makeudb hg19.fasta --output hg19.udb -slots 400000009 -w 16 -id 0.90
    However, I keep getting this error:

    Code:
    ---Fatal error---
    Sequence too long (pos=0, bytes=16777216)
    Any idea what is going on here? I have tried a couple of other fasta files (bigger than hg19) and also get this error.
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    Which version of USEARCH are you using? In v5.1 the documentation says:
    Splitting large UDB databases no longer required
    In version 5.0 of usearch, there was a limit on the maximum size of a UDB index, which required splitting large databases. This restriction is removed in v5.1.
    Perhaps you are still using v5.0 and hitting this limit?

    Comment

    • kga1978
      Senior Member
      • Nov 2010
      • 100

      #3
      Ya, I though about that as well, but I have version 5.2.32 (64bit), so I don't think that is the problem?

      K

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Are the input files in the "unix" format? Something to check.

        Comment

        • kga1978
          Senior Member
          • Nov 2010
          • 100

          #5
          Hi GenoMax,

          I am a little unsure what you mean by that? The files are in standard fasta format.

          Comment

          • maubp
            Peter (Biopython etc)
            • Jul 2009
            • 1544

            #6
            I guess he was saying to check you had Unix new lines rather than DOS/Windows new lines. Worth trying.

            The error message itself suggests it is the length of an individual sequence in the FASTA file that is the problem, not the total file size. Have you looked at how long your sequences are - does truncating them make the error go away? That would be a big clue as to the problem.

            Comment

            • kga1978
              Senior Member
              • Nov 2010
              • 100

              #7
              Hi maubp,

              I'll try out your suggestions - this happened to me using several different fasta files though, so I'm wondering whether something else is going on. Thanks for the suggestions - much appreciated.

              Comment

              • hepcat72
                Junior Member
                • Dec 2009
                • 7

                #8
                Same problem

                I too am trying to compile an hg19 ublast database and have encountered the same error. I just checked for carriage returns in the hg19.fa file and there are none. Yet I get the error:

                Code:
                ---Fatal error---
                Sequence too long (pos=0, bytes=16777216, -sfasta_buff_bytes 16777216)
                Code:
                usearch -version
                usearch v7.0.1090_i86osx32
                I also was getting an error when I used the -alpha parameter that is in the documentation (and is used in an example):

                Code:
                usearch -makeudb_ublast hg19.fa -output hg19.udb -alpha nt 
                
                Invalid command line
                Unknown option alpha
                Any idea how to make this work?

                Thanks,
                Rob

                Comment

                Latest Articles

                Collapse

                • SEQadmin2
                  Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                  by SEQadmin2



                  CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                  Despite this, “CRISPR helped turn genome editing from a specialized technique into
                  ...
                  07-31-2026, 11:01 AM
                • SEQadmin2
                  Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                  by SEQadmin2


                  Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                  The systematic characterization of the human proteome has
                  ...
                  07-20-2026, 11:48 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 08-13-2026, 12:22 PM
                0 responses
                20 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 08-11-2026, 10:35 AM
                0 responses
                16 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 08-06-2026, 07:41 AM
                0 responses
                32 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 08-03-2026, 10:13 AM
                0 responses
                50 views
                0 reactions
                Last Post SEQadmin2  
                Working...