Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • weicy
    Junior Member
    • Apr 2012
    • 5

    #1

    Need help in running FAR - The Flexible Adapter Remover' on Mac OS

    Hi,

    I downloaded "FAR - The Flexible Adapter Remover" from http://sourceforge.net/projects/theflexibleadap/, and installed it in MacOS follwoing the instructions in its "README.TXT" file. The program ran successfully when I used a small fasta sequencing file to test it.

    However, when I really applied it to my real sequencing file (in fasta format), It only processed very few read sequences and then stopped, showing "Terminate called throwing an exceptionabort trap 6".

    Could anyone help to explain what this sentence mean? How to fix it? Thanks
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Perhaps you do not have enough memory to process the entire file (you can check on this using a terminal window and "top" while you run FAR). If that is true then you could split your file in pieces and then process the pieces individually.

    Comment

    • weicy
      Junior Member
      • Apr 2012
      • 5

      #3
      Originally posted by GenoMax View Post
      Perhaps you do not have enough memory to process the entire file (you can check on this using a terminal window and "top" while you run FAR). If that is true then you could split your file in pieces and then process the pieces individually.
      Thank you for your reply. I used "top" but I cannot tell which term I should look at. Here is the terms listed:
      "PID COMMAND %CPU TIME #TH #WQ #POR #MREG RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS KPRVT KSHRD USER"

      But based on my observation, I did not see any of them show a significant large number when "Far" was running except "%CPU". Can you tell me what I should look at? Thx!

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Look for "PhysMem" in the lines that show up above the list you have included below.

        Does PhysMem line end up showing "0M free" (or a near zero number) at some point during processing when the error occurs?

        How much RAM do you have and how big are your sequence files?


        Originally posted by weicy View Post
        Thank you for your reply. I used "top" but I cannot tell which term I should look at. Here is the terms listed:
        "PID COMMAND %CPU TIME #TH #WQ #POR #MREG RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEINS KPRVT KSHRD USER"

        But based on my observation, I did not see any of them show a significant large number when "Far" was running except "%CPU". Can you tell me what I should look at? Thx!

        Comment

        • weicy
          Junior Member
          • Apr 2012
          • 5

          #5
          Originally posted by GenoMax View Post
          Look for "PhysMem" in the lines that show up above the list you have included below.

          Does PhysMem line end up showing "0M free" (or a near zero number) at some point during processing when the error occurs?

          How much RAM do you have and how big are your sequence files?

          No, PhysMem actually did not change too much, and about 450mb is free when FAR is stopped.

          I am trying to run FAR in a macbook pro, which has 4G RAM. The sequence files is 13GB and it is in fasta format.

          thanks

          Comment

          • JackieBadger
            Senior Member
            • Mar 2009
            • 385

            #6
            The fasta is 13GB? That is huge! I have used whole genome in fasta format which are less than 2BG.
            Are you sure this file doesn't not include run/quality information also?

            Even trying to commit ~2GB of data may cause a stack overflow on a 4GB Macbook (I presume?), and throw a crash. If you do not have access to a Linux machine with much more RAM you have to chop up your fasta file. Still 13BG is very large for such a simple format.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              I think the best solution is to split the file and then do the adapter removal on the pieces. Use the "split" command (http://www.computerhope.com/unix/usplit.htm).


              Originally posted by weicy View Post
              No, PhysMem actually did not change too much, and about 450mb is free when FAR is stopped.

              I am trying to run FAR in a macbook pro, which has 4G RAM. The sequence files is 13GB and it is in fasta format.

              thanks

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Uncompressed HiSeq sample files can be rather large. It is not unusual to have a 13GB fasta file.

                Originally posted by JackieBadger View Post
                The fasta is 13GB? That is huge!. Still 13BG is very large for such a simple format.

                Comment

                • weicy
                  Junior Member
                  • Apr 2012
                  • 5

                  #9
                  Originally posted by GenoMax View Post
                  I think the best solution is to split the file and then do the adapter removal on the pieces. Use the "split" command (http://www.computerhope.com/unix/usplit.htm).
                  Thx, I will try

                  Comment

                  • jimmybee
                    Senior Member
                    • Sep 2010
                    • 119

                    #10
                    Originally posted by JackieBadger View Post
                    The fasta is 13GB? That is huge! I have used whole genome in fasta format which are less than 2BG.
                    Are you sure this file doesn't not include run/quality information also?

                    Even trying to commit ~2GB of data may cause a stack overflow on a 4GB Macbook (I presume?), and throw a crash. If you do not have access to a Linux machine with much more RAM you have to chop up your fasta file. Still 13BG is very large for such a simple format.
                    13Gb is pretty small for what I do. And my macbook pro with 4Gb handles it pretty well.

                    Can you try a different program other than FAR? Maybe fasta-mcf, cutadapt or the fastx toolkit?

                    Comment

                    • weicy
                      Junior Member
                      • Apr 2012
                      • 5

                      #11
                      Originally posted by GenoMax View Post
                      I think the best solution is to split the file and then do the adapter removal on the pieces. Use the "split" command (http://www.computerhope.com/unix/usplit.htm).
                      I spliced the file and now there is 10m reads per file (around 600mb). The problem still exists. I guess file size is not the key...

                      but thx anyway

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