Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • cuffDiff "cannot open reference GTF file"

    I am running a series of Tuxedo pipelines and have run into the following error message a number of times in CuffDiff "cannot open reference GTF file".

    The GTF file was generated in CuffMerge and looks completely normal. Here are some lines to illustrate this:
    Ch2 Cufflinks exon 2735 6095 . + . gene_id "XLOC_000001"; transcript_id "TCONS_00000001"; exon_number "1"; oId "CUFF.3.1"; class_code "u"; tss_id "TSS1";
    Ch2 Cufflinks exon 6172 6607 . + . gene_id "XLOC_000001"; transcript_id "TCONS_00000001"; exon_number "2"; oId "CUFF.3.1"; class_code "u"; tss_id "TSS1";
    Ch2 Cufflinks exon 7279 7433 . + . gene_id "XLOC_000001"; transcript_id "TCONS_00000001"; exon_number "3"; oId "CUFF.3.1"; class_code "u"; tss_id "TSS1";
    Ch2 Cufflinks exon 7494 10061 . + . gene_id "XLOC_000001"; transcript_id "TCONS_00000001"; exon_number "4"; oId "CUFF.3.1"; class_code "u"; tss_id "TSS1";

    I can find no error in my input command either:
    cuffdiff \
    -o "/gpfs/group1/f/flyinv/Outputs_CuffDiff/ExonsGenes/SCJR32_a" \
    -L SC_JR32_Male,SC_JR32_Female,SC_JR32_Larvae \
    --total-hits-norm \
    --frag-bias-correct /gpfs/group1/f/flyinv/working_index/Dpse3_0_1.fa \
    --multi-read-correct \
    --library-norm-method classic-fpkm \
    /gpfs/group1/f/flyinv/Outputs_CuffMerge/exonGene/SCR32_a/merged.gtf \
    /gpfs/group1/f/flyinv/Outputs_TopHat/transcriptiomeSequence_exonsAndGeneAnnotationData/SC_JR32_Male/accepted_hits.bam \
    /gpfs/group1/f/flyinv/Outputs_TopHat/transcriptiomeSequence_exonsAndGeneAnnotationData/SC_JR32_Female/accepted_hits.bam \
    /gpfs/group1/f/flyinv/Outputs_TopHat/transcriptiomeSequence_exonsAndGeneAnnotationData/SC_JR32_Larvae/accepted_hits.bam

    I have found other threads where the same problem has been encountered, but there seems to be no real explanation or solution:





    One possible cause of this problem could be the GFF3 and GTF files used to guide the upstream TopHat and Cufflinks and CuffMerge analyses. TopHat and CuffLinks were run using a GFF3 file that contained the known gene and exon annotations for the target species. A GFF file generated by TopHat from the same data was used to guide the CuffMerge analyses. I don't see what difference this would make, but could this have somehow caused the error?

  • #2
    Hello there,

    Hope this doesn't sound patronizing, but do you have permission to read the GTF file?

    Code:
    ls -lh /gpfs/group1/f/flyinv/Outputs_CuffMerge/exonGene/SCR32_a/merged.gtf
    will show you permissions. Alternatively, you can just check if you can read the file by using a program to read the file (e.g. head, less, more, tail, etc.)

    Code:
     head ls -lh /gpfs/group1/f/flyinv/Outputs_CuffMerge/exonGene/SCR32_a/merged.gtf
    If you don't have permission, you should change them using the 'chmod' tool.


    HTH

    Comment


    • #3
      I think you miss a . before / for your bam or gtf file. It happens on me once and later I figure out it is the wrong directory I put into the cuffdiff command. That is why cuffdiff can not read gtf file

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Non-Coding RNA Research and Technologies
        by seqadmin


        Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

        [Article Coming Soon!]...
        Yesterday, 08:07 AM
      • seqadmin
        Recent Developments in Metagenomics
        by seqadmin





        Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
        09-23-2024, 06:35 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 10-02-2024, 04:51 AM
      0 responses
      14 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-01-2024, 07:10 AM
      0 responses
      25 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-30-2024, 08:33 AM
      1 response
      31 views
      0 likes
      Last Post EmiTom
      by EmiTom
       
      Started by seqadmin, 09-26-2024, 12:57 PM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Working...
      X