Unconfigured Ad

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

    #1

    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
    http://www.ebi.ac.uk/~zerbino/velvet/

    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

                • 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
                  ...
                  10-14-2026, 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, Yesterday, 11:13 AM
                0 responses
                19 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, Yesterday, 10:48 AM
                0 responses
                18 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-15-2026, 10:52 AM
                0 responses
                36 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                42 views
                0 reactions
                Last Post SEQadmin2  
                Working...