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
                  The Factors Reshaping Genome Assembly
                  by SEQadmin2



                  When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
                  11-24-2026, 07:04 AM
                • SEQadmin2
                  16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                  by SEQadmin2





                  NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                  10-30-2026, 06:46 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 11-23-2026, 11:11 AM
                0 responses
                39 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 11-17-2026, 06:27 AM
                0 responses
                47 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 11-12-2026, 07:59 AM
                0 responses
                68 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 11-05-2026, 09:25 AM
                0 responses
                68 views
                0 reactions
                Last Post SEQadmin2  
                Working...