Unconfigured Ad

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

    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
                  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, Today, 10:26 AM
                0 responses
                9 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-09-2026, 10:04 AM
                0 responses
                24 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-08-2026, 10:08 AM
                0 responses
                16 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-07-2026, 11:05 AM
                0 responses
                33 views
                0 reactions
                Last Post SEQadmin2  
                Working...