Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kwebb
    Member
    • Jul 2008
    • 21

    #1

    SOAP on Mac Pro

    Hi

    I am trying to run SOAP on a Mac Pro 2 × quad-core 2.8 GHz machine. When I try to run soap I get the following error:

    >soap -a reads.fastq -d ref.txt -o soap.out
    Start at: Mon Aug 11 13:51:22 2008

    Load in 1 db seqs, total size 117080 bp. 0 secs passed
    total_kmers: 1048576
    Create seed table. 0 secs passed
    Single read alignment:
    Query: reads.fastq Reference: ref.txt Output: soap.out
    Segmentation fault

    I have emailed with the SOAP authors and was told that SOAP cannot be run on my machine because it's only 32 bit and that I should try it on a 64 bit machine. But I'm fairly certain the new Mac Pros are 64 bit - and I don't have access to another machine. I have been playing around with the -arch in the makefile but haven't found an option that solves my problem.

    Has anyone experienced a similar problem and found a way around it?
  • Chipper
    Senior Member
    • Mar 2008
    • 323

    #2
    I think I got "segmentation fault" once when the input file (sequences) was not formatted correctly, perhaps it does not recognize fastq format? Try to convert it to fasta instead.

    Comment

    • kwebb
      Member
      • Jul 2008
      • 21

      #3
      Thanks - I tried it but still get the same error.

      Comment

      • zee
        NGS specialist
        • Apr 2008
        • 249

        #4
        There is an alternative to SOAP available on the Mac OS , you can get it at http://www.novocraft.com/downloads/download.html

        I've run it successfully on my Macbook Pro.

        Comment

        • sigusn
          Member
          • Aug 2008
          • 19

          #5
          Im having exact the same problem with SOAP on my MacBook Pro. But the Novoalign software works OK.

          Comment

          • tjahns
            Junior Member
            • Jul 2008
            • 9

            #6
            Building 64bit Software on Mac OS X

            Unless you are actually running Linux on your Mac Pro, you will need to add -m64 to the CFLAGS, CXXFLAGS (if C++ source) and LDFLAGS for the standard toolchain (i.e. the one you install from the XCode package) to produce 64 bit executables and objects.

            Also of importance: only in 10.5 aka Leopard are all libraries in 64 bit format, in 10.4 everything but the system libraries (libc, libstdc++) is 32bit only i.e. libbz2.

            Greetings,
            Thomas Jahns
            Last edited by tjahns; 08-12-2008, 03:28 AM.

            Comment

            • kwebb
              Member
              • Jul 2008
              • 21

              #7
              Thanks tjahns. I think your recommendation is what I need. I am working in Leopard - 10.5.4 and I have XCode installed. How do I add the -m64? Could you please give detailed instructions?

              Also - I have installed Novocraft and also have it running on my machine.

              Thanks all!

              Comment

              • lh3
                Senior Member
                • Feb 2008
                • 686

                #8
                You should edit makefile and modify the FLAGS line to:

                FLAGS= -static -DMAXGAP=3 -DMAXHITS=10000 -DTHREAD -O3 -m64

                However, I do not think this is caused by -m64. SOAP is expected to work with 32-bit machines. I guess SOAP's random crashes are due to hidden bugs. I would recommend to use novocraft. It is a lot better in my own opinion.

                Comment

                • kwebb
                  Member
                  • Jul 2008
                  • 21

                  #9
                  Thanks. I had tried that previously and still got the same error. Although I had to change the -static to -dynamiclib to get it to make.

                  Comment

                  • tjahns
                    Junior Member
                    • Jul 2008
                    • 9

                    #10
                    The recommendation by lh3 is correct. But since the authors of SOAP do not distinguish CC from CXX and the diverse types of *FLAGS from one another, they probably lack the necessary experience to write POSIX conformant software. That means you would probably have to compile the program with -g and load it in gdb to analyze the problem. But I wouldn't recommend that unless you are relatively well versed in programming and debugging.

                    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, 10-22-2026, 11:13 AM
                    0 responses
                    28 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-22-2026, 10:48 AM
                    0 responses
                    21 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-15-2026, 10:52 AM
                    0 responses
                    38 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-14-2026, 05:39 AM
                    0 responses
                    44 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...