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
                      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                      by SEQadmin2


                      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                      The systematic characterization of the human proteome has
                      ...
                      07-20-2026, 11:48 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-24-2026, 12:17 PM
                    0 responses
                    10 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-23-2026, 11:41 AM
                    0 responses
                    11 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-20-2026, 11:10 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-13-2026, 10:26 AM
                    0 responses
                    37 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...