Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mudita
    Member
    • Oct 2012
    • 15

    #1

    Error while running DEXSeq

    I am working with Illumina RNAseq data. My experiment contain 5-5 biological replicates of normal and treated. Initially I followed cufflink-->cuffdiff workflow (Trimmomatics-->Tophat-->Cufflinks-->Cuffmerge-->Cuffdiff), but could not get any significant genes/isoform.

    Later I started working working with HTSeq-->EdgeR workflow (Trimmomatics-->Tophat-->HTSeq-->EdgeR) and could get around 1000 significant genes.

    Now I am looking for isoform information and so I started working DEXSeq package.

    I am getting following error while running dexseq_count.py:

    Traceback (most recent call last):
    File "/data/RNASEQdata/Programs/dexseq_count.py", line 70, in <module>
    for f in HTSeq.GFF_Reader( gff_file ):
    File "/home/gadgil/.local/lib/python2.7/site-packages/HTSeq/__init__.py", line 210, in __iter__
    for line in FileOrSequence.__iter__( self ):
    File "/home/gadgil/.local/lib/python2.7/site-packages/HTSeq/__init__.py", line 51, in __iter__
    lines = open( self.fos )
    IOError: [Errno 2] No such file or directory: '-'

    These are the steps I have followed:

    python dexseq_prepare_annotation.py Homo_sapiens.GRCh37.71.gtf DEXSeq.gtf

    samtools view accepted_hits.bam | python /dexseq_count.py -p no -s no -a 10 - DEXSeq.gtf output/19_N.txt

    Please help me with this error.

    Thanks in advance.

    Best Regards,
    Mudita
  • areyes
    Senior Member
    • Aug 2010
    • 165

    #2
    Hi @Mudita,

    Have a look at the pasilla vignette, it contains examples of how to use the python scripts of the DEXSeq package: first you would have to convert the bam file into sam, sort it by read name and then run the python scripts.

    Alternatively, have a look at the section "9.3 From GRanges, BamListFiles and transcriptDb objects" will indicate you how to generate an ExonCountSet object within R directly from bam files.

    Alejandro

    Comment

    • Mudita
      Member
      • Oct 2012
      • 15

      #3
      Thanks for your reply

      However, my bam file is already sorted by read name. Same kind of input i have already given to htseq and it worked there. The only difference of input I could see from HTSeq to DEXSeq, is the preperation of annotations file.

      I downloaded annotation gtf file from ensemble:
      http://asia.ensembl.org/info/data/ftp/index.html

      I did this:
      python dexseq_prepare_annotation.py Homo_sapiens.GRCh37.71.gtf DEXSeq.gtf

      Comment

      • areyes
        Senior Member
        • Aug 2010
        • 165

        #4
        Hi @Mudita,

        Sorry for my previous post (that I already deleted), it was incorrect!

        I think the problem is the order of the parameters try this:

        samtools view accepted_hits.bam | python /dexseq_count.py -p no -s no -a 10 DEXSeq.gtf - output/19_N.txt
        Last edited by areyes; 04-18-2013, 03:08 AM.

        Comment

        • Mudita
          Member
          • Oct 2012
          • 15

          #5
          Thank you very much

          it is working now. But it was just the matter of hyphen (-) before output file. I would have never figure it out.
          Thanks again.

          I would like to ask one more question here.
          DEXSeq would only find out differentially expressed exons. However, I am also interested in splice junctions, which tool you would recommend other than cuffdiff.

          Mudita

          Comment

          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, Yesterday, 11:13 AM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:48 AM
          0 responses
          17 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...