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
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM
        • SEQadmin2
          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
          by SEQadmin2


          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
          ...
          06-02-2026, 10:05 AM
        • SEQadmin2
          Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
          by SEQadmin2


          With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


          Introduction

          Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
          05-22-2026, 06:42 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        22 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-09-2026, 11:58 AM
        0 responses
        40 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-05-2026, 10:09 AM
        0 responses
        47 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-04-2026, 08:59 AM
        0 responses
        49 views
        0 reactions
        Last Post SEQadmin2  
        Working...