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
            Understanding Genetic Influence on Infectious Disease
            by seqadmin




            During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

            Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
            09-09-2024, 10:59 AM
          • seqadmin
            Addressing Off-Target Effects in CRISPR Technologies
            by seqadmin






            The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
            08-27-2024, 04:44 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 09-11-2024, 02:44 PM
          0 responses
          11 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-06-2024, 08:02 AM
          0 responses
          145 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-03-2024, 08:30 AM
          0 responses
          152 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 08-27-2024, 04:40 AM
          0 responses
          161 views
          0 likes
          Last Post seqadmin  
          Working...
          X