Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems with cufflinks GTF annotated files and DEXSeq

    I'm trying to use a Cufflinks GTF that includes novel isoforms as an input for DEXSeq.
    My RNA-Sseq libraries were stranded and my cufflinks command included fr-secondstrand, but now when i run the phyton script i get the following error:

    Traceback (most recent call last):
    File "dexseq_prepare_annotation.py", line 55, in <module>
    *** exons[f.iv] += ( f.attr['gene_id'], f.attr['transcript_id'] )
    *File "_HTSeq.pyx", line 514, in HTSeq._HTSeq.GenomicArray.__getitem__ (src/_HTSeq.c:10576)
    KeyError: 'Non-stranded index used for stranded GenomicArray.'


    Here’s the line 514 of my gtf file:

    1 Cufflinks exon 6113070 6113253 988 - . gene_id "CUFF.74"; transcript_id "ENSRNOT00000061956"; exon_number "2"; FPKM "0.0020481810"; frac "0.496199"; conf_lo "0.000000"; conf_hi "0.011202"; cov "0.023020";

    I’m lost and I don’t know what to do. Anybody knows what the problem is and how can it be solved? I would appreciate any help i could get from the DEXSeq experts. Thank you

  • #2
    Do a quick:
    Code:
    cut -f 7 something.gtf | uniq | sort | uniq
    If you see a ".", then that's the source of the problem.

    Comment


    • #3
      Thanks, I've used your command and this is what i've got:

      +
      -
      .

      Does that mean that i have unstranded data in my GTF? how could that be if my libraries are stranded and i used the fr-secondstrand in my cufflinks? any idea how to solve the issue?
      Would it be possible to remove those lines from the GTF? or what would be the optimal way of dealing with this issue?

      thanks!

      Comment


      • #4
        I haven't a clue why that's happening, but something like:
        Code:
        awk 'BEGIN{OFS="\t"}{if($7!=".") print $0}' original.gtf > filtered.gtf
        should filter things.

        Comment


        • #5
          Thank you very much for your help.
          I've managed now to remove those lines (6) and run dexseq_prepare_annotation.py without an error. You've saved my day

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          59 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          57 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          51 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          56 views
          0 likes
          Last Post seqadmin  
          Working...
          X