Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • repinementer
    Member
    • Dec 2009
    • 80

    #1

    Tophat ./configure error

    Hi guys
    I'm trying to install tophat using cygwin on windows
    when I ran ./configure command I got the following error
    Could you please suggest me anything that can solve this error

    Thanx

    Code:
    $ ./configure --prefix=/cygdrive/c/Documents\ and\ Settings/bogugk/Desktop/tophat-1.0.13/
    
    ./configure: line 14: $'\r': command not found
    ./configure: line 25: syntax error near unexpected token `$'in\r''
    '/configure: line 25: `  case `(set -o) 2>/dev/null` in
    FYI: For me it seems newline problem '\r' instead of '\n', but I have no idea what and where to change

    I deleted one extraline at 14 and the errors reduced to 2

    Code:
    ./configure: line 25: syntax error near unexpected token `$'in\r''
    '/configure: line 25: `  case `(set -o) 2>/dev/null` in
    Last edited by repinementer; 05-30-2010, 10:55 PM.
  • raela
    Member
    • Apr 2010
    • 39

    #2
    The problem is Linux (and I think Unix in general) uses only \n as a newline character. whereas Windows uses \n\r for newlines. I don't know all of the commands cygwin comes with, but I would try:
    sed -e 's/\r$//' configure > config.new # DOS to UNIX (removing CRs)
    egrep -L $'\r\n' configure > config.new # show UNIX style file (LF terminated)
    grep -PL $'\r\n' configure > config.new # show UNIX style file (LF terminated)
    From there, you should be able to do ./config.new, or rename configure to something else and rename config.new to configure.

    Comment

    • repinementer
      Member
      • Dec 2009
      • 80

      #3
      thanx for the suggestions

      it gave the following error.

      Code:
      $ ./configure --prefix=/cygdrive/c/Documents\ and\ Settings/bogugk/Desktop/tophat-1.0.13/
      
      configure: error: cannot run /bin/sh config/config.sub

      Comment

      • raela
        Member
        • Apr 2010
        • 39

        #4
        I did a quick google search, but I just want to make sure - did you install the development tools? (gcc, make, etc). Also, remove the tophat dir and this time unpack it using cygwin, not windows. Try `tar zxvf tophat-1.0.13.tar.gz` in cygwin.

        Comment

        • repinementer
          Member
          • Dec 2009
          • 80

          #5
          heyyyyyy

          Yes I already installed all tools.
          untar command worked liked charm.
          I installed after using untar from cygwin. WOW

          but after runnig make I got the following error.
          Is tophat BETA version only works with 64 bit computers?

          make
          make all-recursive
          make[1]: Entering directory `/cygdrive/c/Documents and Settings/bogugk/Desktop/tophat-1.0.13'
          Making all in src
          make[2]: Entering directory `/cygdrive/c/Documents and Settings/bogugk/Desktop/tophat-1.0.13/src'
          g++ -DHAVE_CONFIG_H -I. -I.. -Wall -g -m64 -O3 -DNDEBUG -I./SeqAn-1.1 -Wall -g -m64 -O3 -DNDEBUG -MT reads.o -MD -MP -MF .deps/reads.Tpo -c -o reads.o reads.cpp
          reads.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
          In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/bits/stl_algobase.h:66,
          from /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/bits/char_traits.h:46,
          from /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/string:47,
          from reads.cpp:15:
          .......................
          ..........................
          make[1]: *** [reads.o] Error 1
          make[1]: Leaving directory `/cygdrive/c/Documents and Settings/bogugk/Desktop/tophat-1.0.13/src'
          make: *** [install-recursive] Error 1


          Last edited by repinementer; 05-31-2010, 06:36 PM.

          Comment

          • repinementer
            Member
            • Dec 2009
            • 80

            #6
            is it space problem. My machine only has 3GB ram and 160 HD

            is it space problem. My machine only has 3GB ram and 160 HD

            Comment

            • john_mu
              Member
              • May 2010
              • 88

              #7
              hmm 3Gb RAM is a bit low to run TopHat. On some settings I have seen it use upwards of 12GB...

              Also, the current way it implements sorting the SAM file will easily use over 5GB.

              That is, you will need 5GB of free RAM or about 8GB total.

              EDIT: Actually, that depends on how many reads you have and which genome. Which genome are you interested in?
              Last edited by john_mu; 05-31-2010, 08:05 PM.
              SpliceMap: De novo detection of splice junctions from RNA-seq
              Download SpliceMap Comment here

              Comment

              • repinementer
                Member
                • Dec 2009
                • 80

                #8
                Thanx

                Ya you are right. Thanx
                I just came to know that.
                Human genome so it will be really huge.

                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
                  ...
                  Today, 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, Today, 05:39 AM
                0 responses
                10 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, Yesterday, 09:56 AM
                0 responses
                14 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-09-2026, 11:14 AM
                0 responses
                27 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 09-29-2026, 09:51 AM
                0 responses
                77 views
                0 reactions
                Last Post SEQadmin2  
                Working...