Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arunpras
    Junior Member
    • Jun 2009
    • 3

    #1

    failed to readlink

    Hi.

    I am trying to set up coronalite for running my ABI paired end reads.

    I dont have PBS scheduler and so i tried using the standalone command as given in the documentation using the cut command.

    However it gives me a "Failed to readlink(/proc/10065/exe):No such file or directory" error.

    Have any of you faced this error and if so how to get around it.

    I am running corona lite on my imac with 4GB RAM and 2.66GHZ core2 duo.

    Thanks in advance
    Arun
  • arunpras
    Junior Member
    • Jun 2009
    • 3

    #2
    The error occurs in the mapreads command.

    Comment

    • westerman
      Rick Westerman
      • Jun 2008
      • 1104

      #3
      Suggestion #1: Run Linux. CoronaLite is heavily Linux oriented. Even when it does not have to be (see below after the stars).

      I presume you are running OS-X. I think that OS-X does not have a /proc file system. See an older article: http://osxbook.com/book/bonus/ancient/procfs/ The code in question is trying to create a temporary file from the information it finds in /proc.

      If this is true (I don't have my Mac handy), then you will need to modify mapreads.cxx around line 1030 to make the program Mac-compatible. Or at least not Linux-oriented. Why the programmers couldn't use the standard library call (tmpfile) to create a temporary file instead of rolling their own code I do not understand. But this is so typical of the corona lite programs.

      If you can't modify a program in C++ and can't find anyone to do it for you then see suggestion #1 above.

      ******************

      My favorite CoronaLite "linux-ism" (which I may have mentioned before) occurs in one of their Perl programs. The code in question:

      -----

      my $jlist = `seq 0 $numPanelGroups`;
      $jlist =~ s/\n/ /g;

      -----

      For those unfamiliar with the "seq" command all it does is generate a list of numbers. Handy if you are in the shell. Not as handy if you aren't in the shell. The above code makes a system call to generate that list of numbers and then transforms the new-line delimited list into a space-delimited one. A really dumb way to do it, especially inside of Perl. I re-wrote the code to:

      -----

      my @jlist = (0..$numPanelGroups);
      my $jlist = join ' ', @jlist;

      -----

      The may be better ways to do it within Perl but at least my code is all inside Perl and does not rely on external Linux commands.

      Comment

      • arunpras
        Junior Member
        • Jun 2009
        • 3

        #4
        Thank you

        thanks westerman.

        I am installing corona lite into my linux system. Hopefully that should solve the issue.

        I will let you know how this goes.

        Arun

        Comment

        • kmcarr
          Senior Member
          • May 2008
          • 1181

          #5
          Originally posted by westerman View Post
          my $jlist = `seq 0 $numPanelGroups`;
          $jlist =~ s/\n/ /g;
          Wow! If they insist on using the seq command they could at least "man seq" first and learn that

          Code:
          my $jlist = `seq -s " " 0 $numPanelGroups`;
          would format the string as space-delimited directly, no need for the substitution line.

          Comment

          • ondovb
            Member
            • Jan 2010
            • 20

            #6
            You can avoid the "readlink" error on OS X by passing "P=<mapreads directory>" to mapreads. It's just using proc to get the path of the executable, because it assumes the "map" program will be in the same directory if you don't specify a path for it.

            I still get a segfault when using multiple threads. Also, this doesn't fix any other problems with OS X in the CoronaLite pipeline...and if you just wanted to do alignment, you could use a Mac-friendly tool. So this is probably a useless tip.

            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
            48 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            46 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            46 views
            0 reactions
            Last Post SEQadmin2  
            Working...