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
                  Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                  by SEQadmin2



                  Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                  Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                  ...
                  Today, 09:55 AM
                • SEQadmin2
                  New Genomics Technologies Take Aim at Long-Standing Limits
                  by SEQadmin2


                  Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                  We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                  ...
                  09-28-2026, 10:25 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, Today, 05:39 AM
                0 responses
                10 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, Yesterday, 09:56 AM
                0 responses
                12 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-09-2026, 11:14 AM
                0 responses
                25 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 09-29-2026, 09:51 AM
                0 responses
                77 views
                0 reactions
                Last Post SEQadmin2  
                Working...