Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Stefania_IT
    Junior Member
    • Jun 2013
    • 3

    #31
    Hi guys!
    I followed all the instructions reported on the official web site for HTseq and i read all your posts.
    I cannot import HTSeq. There is the error explained here.

    I'm working on windows 7, with python 2.7.5 and HTSeq 0.5.4p3.
    I really need help!

    Cheers!

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #32
      Originally posted by Stefania_IT View Post
      Hi guys!
      I followed all the instructions reported on the official web site for HTseq and i read all your posts.
      I cannot import HTSeq. There is the error explained here.

      I'm working on windows 7, with python 2.7.5 and HTSeq 0.5.4p3.
      I really need help!

      Cheers!
      Did you install the redistributable package mentioned in post #28?

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #33
        Originally posted by Stefania_IT
        Yes, and it didnt work, then i installed something else (i dont remember right now, i did to many trial) but now it works!

        I have another problem with pysam (samtools). could you many help me?

        this is the problem:

        C:\Users\Desktop\pysam-0.7.4>python setup.py install
        running install
        running bdist_egg
        running egg_info
        writing requirements to pysam.egg-info\requires.txt
        writing pysam.egg-info\PKG-INFO
        writing top-level names to pysam.egg-info\top_level.txt
        writing dependency_links to pysam.egg-info\dependency_links.txt
        reading manifest file 'pysam.egg-info\SOURCES.txt'
        reading manifest template 'MANIFEST.in'
        writing manifest file 'pysam.egg-info\SOURCES.txt'
        installing library code to build\bdist.win32\egg
        running install_lib
        running build_py
        running build_ext
        skipping 'pysam\csamtools.c' Cython extension (up-to-date)
        building 'pysam.csamtools' extension
        c:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -D_FILE_OFFSET_BITS=64 -D_USE_KN
        ETFILE= -Isamtools -Ipysam -Iwin32 -IC:\Python27\include -IC:\Python27\PC -c pysam\csamtools.c -o build\temp.win32
        2.7\Release\pysam\csamtools.o
        In file included from pysam\csamtools.c:241:
        samtools/razf.h:38:18: error: zlib.h: No such file or directory
        In file included from pysam\csamtools.c:241:
        samtools/razf.h:91: error: expected specifier-qualifier-list before 'z_stream'
        pysam\csamtools.c: In function '__pyx_pf_9csamtools_7Samfile_10fetch':
        pysam\csamtools.c:9814: warning: passing argument 7 of 'bam_fetch' from incompatible pointer type
        pysam\csamtools.c: In function '__pyx_pf_9csamtools_7Samfile_11mate':
        pysam\csamtools.c:10254: warning: passing argument 7 of 'bam_fetch' from incompatible pointer type
        pysam\csamtools.c: In function '__pyx_pf_9csamtools_7Samfile_12count':
        pysam\csamtools.c:10730: warning: passing argument 7 of 'bam_fetch' from incompatible pointer type
        pysam\csamtools.c: In function '__pyx_pf_9csamtools_7Samfile_13pileup':
        pysam\csamtools.c:11148: warning: passing argument 7 of 'bam_fetch' from incompatible pointer type
        pysam\csamtools.c: In function '__pyx_f_9csamtools___advance_snpcalls':
        pysam\csamtools.c:17424: warning: implicit declaration of function 'bam_prob_realn'
        pysam\csamtools.c:17452: warning: implicit declaration of function 'bam_cap_mapQ'
        pysam\csamtools.c: In function'__pyx_pf_9csamtools_20IteratorColumnRegion_1__next__':
        pysam\csamtools.c:18907: warning: passing argument 1 of '__pyx_f_9csamtools_make
        PileupProxy' from incompatible pointer type
        pysam\csamtools.c: In function '__pyx_pf_9csamtools_21IteratorColumnAllRefs_1__next__':
        pysam\csamtools.c:19134: warning: passing argument 1 of '__pyx_f_9csamtools_make
        PileupProxy' from incompatible pointer type
        pysam\csamtools.c: In function '__Pyx_InitGlobals':
        pysam\csamtools.c:38587: warning: this decimal constant is unsigned only in ISO
        C90
        error: command 'gcc' failed with exit status 1

        Thank you
        You should create a new thread for this problem since it is unrelated to the original one (if the following does not help).

        You appear to be missing the "zlib" library. Since you are using windows this may be is what you need: http://www.winimage.com/zLibDll/index.html

        A previous post on SeqAnswers seems to indicate that pysam may not work on windows (http://seqanswers.com/forums/showthread.php?t=2870)

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-24-2026, 12:17 PM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-23-2026, 11:41 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-20-2026, 11:10 AM
        0 responses
        24 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        37 views
        0 reactions
        Last Post SEQadmin2  
        Working...