Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • StephaniePi83
    Member
    • Sep 2011
    • 52

    Problem with cutadapt installation

    Hi,
    I'm trying to use cutadapt. I have python 2.7 installed;
    I run :
    Code:
    python setup.py build_ext -i
    which return :
    Code:
    running build_ext
    and when i do, i have the following error :
    Code:
    /home/stephanie/Téléchargements/cutadapt-1.0/cutadapt --help
    Traceback (most recent call last):
      File "/home/stephanie/Téléchargements/cutadapt-1.0/cutadapt", line 78, in <module>
        from cutadapt import align, seqio
      File "/home/stephanie/Téléchargements/cutadapt-1.0/lib/cutadapt/align.py", line 222, in <module>
        from cutadapt.calign import globalalign, globalalign_locate
    ImportError: /home/stephanie/Téléchargements/cutadapt-1.0/lib/cutadapt/calign.so: wrong ELF class: ELFCLASS64
    How can i solve this problem ?
    Thank in advance for your help
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    What OS are you running and on what platform? This could be a 32-bit/64-bit library incompatibility issue.

    Comment

    • StephaniePi83
      Member
      • Sep 2011
      • 52

      #3
      I have a virtual box installed on my PC (windows 7) with ubuntu.
      To answer your question :
      DISTRIB_ID=Ubuntu
      DISTRIB_RELEASE=11.10
      DISTRIB_CODENAME=oneiric
      DISTRIB_DESCRIPTION="Ubuntu 11.10"

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Is it a 32-bit or 64-bit install of Ubuntu? Did you install python separately?

        I wonder if you can use windows version of python and run cutadapt through that.


        Originally posted by StephaniePi83 View Post
        I have a virtual box installed on my PC (windows 7) with ubuntu.
        To answer your question :
        DISTRIB_ID=Ubuntu
        DISTRIB_RELEASE=11.10
        DISTRIB_CODENAME=oneiric
        DISTRIB_DESCRIPTION="Ubuntu 11.10"

        Comment

        • StephaniePi83
          Member
          • Sep 2011
          • 52

          #5
          In fact i have ubuntu and i have python2.7 installed on it;
          it's 64 bits
          Last edited by StephaniePi83; 05-11-2012, 06:14 AM.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            This may be a long shot but look at the last post in this thread: http://stackoverflow.com/questions/5...dule-named-md5

            The bit about ia32 library.
            Last edited by GenoMax; 05-11-2012, 07:08 AM.

            Comment

            • StephaniePi83
              Member
              • Sep 2011
              • 52

              #7
              yes i try to do
              Code:
              apt-get install ia32-libs
              but it does'nt work ...
              I think that the problem occur at the begining of the installation

              Code:
              python setup.py build
              running build
              running build_py
              running build_ext
              building 'cutadapt.calign' extension
              gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c lib/cutadapt/calignmodule.c -o build/temp.linux-i686-2.7/lib/cutadapt/calignmodule.o
              lib/cutadapt/calignmodule.c:23:20: erreur fatale: Python.h : Aucun fichier ou dossier de ce type
              compilation terminée.
              error: command 'gcc' failed with exit status 1
              Last edited by StephaniePi83; 05-11-2012, 07:51 AM.

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                I think you need to install the python-dev environment.

                apt-get install python-dev
                Last edited by GenoMax; 05-11-2012, 10:10 AM.

                Comment

                • StephaniePi83
                  Member
                  • Sep 2011
                  • 52

                  #9
                  I've done it but the problem is not fixed; i don't understand ...

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    What is the latest error message? Are you still getting the error with gcc?

                    Originally posted by StephaniePi83 View Post
                    I've done it but the problem is not fixed; i don't understand ...

                    Comment

                    • evallespin
                      Junior Member
                      • Jul 2012
                      • 8

                      #11
                      Hi StephaniePi83, I'm having the same problem and I'm not able to resolve it... have you got the solution now? thanks,

                      Elena

                      Comment

                      • StephaniePi83
                        Member
                        • Sep 2011
                        • 52

                        #12
                        Hi Elena, i don't fixe this problem, i just run cutadapt and it work ...
                        Does it work for you ?
                        Last edited by StephaniePi83; 07-09-2012, 12:25 AM.

                        Comment

                        • evallespin
                          Junior Member
                          • Jul 2012
                          • 8

                          #13
                          Thanks for you quickly answer!

                          I'm able to run cutadapt, but later I have again the same problem:

                          [sudo] password for genmed13:
                          SIOCADDRT: El archivo ya existe
                          genmed13@genmed13-HP-Compaq-dc5800-Microtower:~$ cd Descargas/
                          genmed13@genmed13-HP-Compaq-dc5800-Microtower:~/Descargas$ cd cutadapt-1.0
                          genmed13@genmed13-HP-Compaq-dc5800-Microtower:~/Descargas/cutadapt-1.0$ ./cutadapt --help
                          Traceback (most recent call last):
                          File "./cutadapt", line 78, in <module>
                          from cutadapt import align, seqio
                          File "/home/genmed13/Descargas/cutadapt-1.0/lib/cutadapt/align.py", line 222, in <module>
                          from cutadapt.calign import globalalign, globalalign_locate
                          ImportError: /home/genmed13/Descargas/cutadapt-1.0/lib/cutadapt/calign.so: wrong ELF class: ELFCLASS64
                          genmed13@genmed13-HP-Compaq-dc5800-Microtower:~/Descargas/cutadapt-1.0$ python setup.py build_ext -i
                          running build_ext
                          genmed13@genmed13-HP-Compaq-dc5800-Microtower:~/Descargas/cutadapt-1.0$ ./cutadapt -a AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC /Escritorio/s_G1_L001_I1_001_mate1.fastq -o /Escritorio/s_G1_L001_I1_001_mate1_trimmed.fastq
                          Traceback (most recent call last):
                          File "./cutadapt", line 78, in <module>
                          from cutadapt import align, seqio
                          File "/home/genmed13/Descargas/cutadapt-1.0/lib/cutadapt/align.py", line 222, in <module>
                          from cutadapt.calign import globalalign, globalalign_locate
                          ImportError: /home/genmed13/Descargas/cutadapt-1.0/lib/cutadapt/calign.so: wrong ELF class: ELFCLASS64

                          Comment

                          • StephaniePi83
                            Member
                            • Sep 2011
                            • 52

                            #14
                            Try with "cutadapt" without "./"

                            Comment

                            • evallespin
                              Junior Member
                              • Jul 2012
                              • 8

                              #15
                              (Thanks for helping me! you are the only one )

                              It dosen't work...

                              genmed13@genmed13-HP-Compaq-dc5800-Microtower:~/Descargas/cutadapt-1.0$ cutadapt -a AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC /Escritorio/s_G1_L001_I1_001_mate1.fastq -o /Escritorio/s_G1_L001_I1_001_mate1_trimmed.fastq
                              cutadapt: no se encontró la orden
                              genmed13@genmed13-HP-Compaq-dc5800-Microtower:~/Descargas/cutadapt-1.0$

                              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
                              20 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-09-2026, 10:04 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-08-2026, 10:08 AM
                              0 responses
                              20 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...