Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • kakseq
    replied
    hi,
    Thank you so much for taking a few minutes to help me.
    When I type import HTSeq after typing python it gives me nearly the same error message as above. But, if I type import HTSeq again it doesn't give me an error message.
    I tried reinstalling HTSeq to no avail.

    Leave a comment:


  • GenoMax
    replied
    Originally posted by kakseq View Post
    However, I always get a message that HTSeq can't be imported.
    Is that referring to this test from the HTSeq installationpage?

    Code:
    To test your installation, start Python and then try whether typing[COLOR="Red"] import HTSeq[/COLOR] causes an error meesage.

    Leave a comment:


  • kakseq
    started a topic import HTSeq & random sampling

    import HTSeq & random sampling

    Hi, warning that this is a noob question.

    I am running into problems importing HTSeq. The context is that I am trying to sample randomly from a fastq file (not paired reads). After trying a few methods and always running out of memory I think I need to use the script Simon Anders posted here that relies on HTSeq: http://seqanswers.com/forums/showthread.php?t=12070

    I navigate to the directory where my script and the fastq file of interest are saved, then call the script as follows in order to randomly subsample a tenth of the reads:

    python subsamplewithHTSeq.py 0.10 SRR12345.fastq out_tenth_SRR12345.fastq

    However, I always get a message that HTSeq can't be imported. I have installed HTSeq (version HTSeq-0.5.4p1.win32-py2.7.exe), along with Numpy and I am using 32 bit python 2.7 on Windows 7. I have read the tour through HTSeq, but I still can't figure this out. I am a newbie to computational work and any help would be greatly appreciated. The error is below:

    C:\Users\kak\Desktop\ShortReads\fastqformatted>python subsamplewithHTSeq.py 0
    .1 fastq_SRR12345.fastq tenth_SRR12345.fastq
    Traceback (most recent call last):
    File "subsamplewithHTSeq.py", line 15, in <module>
    import HTSeq
    File "C:\Python27\lib\site-packages\HTSeq\__init__.py", line 9, in <module>
    from _HTSeq import *
    File "_HTSeq.pyx", line 14, in init HTSeq._HTSeq (src/_HTSeq.c:31058)
    File "C:\Python27\lib\site-packages\HTSeq\StepVector.py", line 26, in <module>

    _StepVector = swig_import_helper()
    File "C:\Python27\lib\site-packages\HTSeq\StepVector.py", line 22, in swig_imp
    ort_helper
    _mod = imp.load_module('_StepVector', fp, pathname, description)
    ImportError: DLL load failed: The specified module could not be found.
    HTSeq-0.5.4p1.win32-py2.7.exe

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
26 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
36 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
43 views
0 reactions
Last Post SEQadmin2  
Working...