Unconfigured Ad

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

    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
              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
            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            35 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            22 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            34 views
            0 reactions
            Last Post SEQadmin2  
            Working...