Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dicty
    Member
    • Nov 2010
    • 28

    Velvet error

    Hi,

    I tried to run sequence assembling against a reference genome with Velvet, but got error message as below.

    [42.392250] Read 1 of length 32773, longer than limit 32767
    [42.392259] You should modify ShortLength to int32_t in globals.h (around) line 84, recompile and re-run

    How to resolve the problem? What's "modify ShortLength to int32)in in globals.h"?

    Thanks a lot!

    Dicty
  • Thorondor
    Member
    • Feb 2011
    • 69

    #2


    i think velvet thinks your "reference" is a read for assembly and therefore it's too long. If I am wrong there is a -long option for long reads.

    If I am right:
    velvet does NOT support assembling with a reference! for that you need the extension Columbus, read the Columbus manual. try again. ask again for help. ;-)

    Comment

    • dicty
      Member
      • Nov 2010
      • 28

      #3
      I just followed the Columbus manual, but got the error message. Yes, there is a -long option for long reads, but I still got the same error message.

      Comment

      • Thorondor
        Member
        • Feb 2011
        • 69

        #4
        vell ok. sry then.

        I suggest to do what the error tells you. Go to

        /bin/velvet/velvet_1.0.18/src/

        open globals.h
        and change the line:
        typedef int32_t ShortLength;
        to
        typedef int64_t ShortLength;

        compile velvet again, try again. the line is just below "#ifdef LONGSEQUENCES".
        hope this helps.

        Comment

        • dicty
          Member
          • Nov 2010
          • 28

          #5
          Thorondor,

          Thank you very much for your help. I just made the change following the error message. It's working now.

          Again, really appreciate your suggestion.

          Dicty

          Comment

          • maria.b
            Member
            • Sep 2009
            • 14

            #6
            Hi

            I have quite the same problem and I don't understand why

            [338.503721] Read 1 of length 32785, longer than limit 32767
            [338.503727] You should modify recompile with the LONGSEQUENCES option (cf. manual)

            I'm using velvet against on sequence of 33Mb, with 51,415,694 short reads of 101 bp. So I don't understand what is the "Read 1 of length 32785".

            what is the "LONGSEQUENCES option"? Is that when we declare our library with -long option ?

            Maria

            Comment

            • maria.b
              Member
              • Sep 2009
              • 14

              #7
              The answer is a title of the manual, well done Maria!

              I'm tired sorry!

              But I still do not understand why Velvet detect a read of 32785 bp. Does someone have an idea?
              Last edited by maria.b; 03-05-2012, 08:26 AM.

              Comment

              • chariko
                Member
                • Jun 2010
                • 56

                #8
                I am getting the same error:

                velveth 21 21 -reference Reference.fna -shortPaired -sam 1D14.sam

                [0.000001] Reading FastA file Reference.fna;
                [1.264527] 90 sequences found
                [1.264545] Done
                [1.264555] Reading SAM file 1D14.sam
                [12.113724] 3364950 reads found.
                [12.113741] Done
                [12.113745] Reference mapping counters
                [12.113749] Name Read mappings
                ...
                [12.114339] Reading read set file 21/Sequences;
                [12.677591] 3365040 sequences found
                [12.677667] Read 1 of length 32794, longer than limit 32767
                [12.677674] You should modify recompile with the LONGSEQUENCES option (cf. manual)

                I got my sam file by aligning paired end fastq file with bwa.

                I made Thorondorś change and it did not work (although it was not exactly the same error).


                Edited:

                I did the make 'LONGSEQUENCES=Y' and it worked.
                Last edited by chariko; 12-17-2014, 07:34 AM. Reason: solution found

                Comment

                Latest Articles

                Collapse

                • mylaser
                  Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by mylaser
                  Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                  If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                  This guide explains everything you need to know about...
                  Today, 01:13 AM
                • SEQadmin2
                  Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by SEQadmin2



                  Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                  ...
                  07-09-2026, 11:10 AM
                • SEQadmin2
                  Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                  by SEQadmin2



                  Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                  There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                  07-08-2026, 05:17 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 07-09-2026, 10:04 AM
                0 responses
                16 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-08-2026, 10:08 AM
                0 responses
                10 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-07-2026, 11:05 AM
                0 responses
                22 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-02-2026, 11:08 AM
                0 responses
                31 views
                0 reactions
                Last Post SEQadmin2  
                Working...