Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #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


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

        Comment


        • #5
          Hi GenoMax,

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

          Comment


          • #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


            • #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


              • #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

                • seqadmin
                  Current Approaches to Protein Sequencing
                  by seqadmin


                  Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                  04-04-2024, 04:25 PM
                • seqadmin
                  Strategies for Sequencing Challenging Samples
                  by seqadmin


                  Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                  03-22-2024, 06:39 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by seqadmin, 04-11-2024, 12:08 PM
                0 responses
                31 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 04-10-2024, 10:19 PM
                0 responses
                32 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 04-10-2024, 09:21 AM
                0 responses
                28 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 04-04-2024, 09:00 AM
                0 responses
                53 views
                0 likes
                Last Post seqadmin  
                Working...
                X