Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Cufflinks, Cuffdiff and annotation

    Hi everyone,

    There seem to be a couple of threads that touch on this, but I'm not sure any answered this question... hope this is not a repeat:

    I have mapped reads in tophat, and then used cufflinks to predict transcripts keeping a reference annotation in mind. I updated cufflinks today to 0.8.3

    The gtf output from cuffcompare seems to be fine, for example:

    Code:
    Chr1    Cufflinks       exon    24604   24768   .       +       .       gene_id "XLOC_000001"; transcript_id "TCONS_00011789"; exon_number "1"; oId "fam3.11.1"; nearest_ref "ENSTGUT00000004895"; class_code "e"; tss_id "TSS1";
    Chr1    Cufflinks       exon    25776   25957   .       +       .       gene_id "XLOC_000001"; transcript_id "TCONS_00011789"; exon_number "2"; oId "fam3.11.1"; nearest_ref "ENSTGUT00000004895"; class_code "e"; tss_id "TSS1";
    But when I run cuffdiff: (cuffdiff .combined.gtf accepted_hits.sam accepted_hits.sam2)

    the annotation information from the gtf is not output into the tracking file. I'm particularly interested in the nearest_ref_id.

    Code:
    tracking_id	class_code	nearest_ref_id	gene_short_name	tss_id	locus	q0_FPKM	q0_conf_lo	q0_conf_hi	q1_FPKM	q1_conf_lo	q1_conf_hi
    XLOC_000001	-	-	-	,TSS1	Chr1:24603-28303	1.09128	0	2.93506	4.9699	0.545109	9.39469
    XLOC_000002	-	-	-	TSS2,TSS3	Chr1:639605-651348	32.5089	26.6549	38.3628	30.8267	25.9758	35.6777
    Have I missed some option or something?

    Thanks,

    Chris
    Last edited by chrisbala; 08-04-2010, 05:18 PM.

  • #2
    more info

    i should specify that above I am referring to the genes. tracking. Another problem I suppose is that the cds files are empty.

    Comment


    • #3
      Ok, I guess I've got it working ... I had to use a GTF with the proper features in order to get the gene names into the exp.diff file. Would be nice if I could get the Ensembl IDs to show up there or in the tracking file as well.

      Comment


      • #4
        Hi everyone,
        I have one question: What is the mean of "Notest" in cuffdiff results?

        Comment


        • #5
          Originally posted by paulwood View Post
          Hi everyone,
          I have one question: What is the mean of "Notest" in cuffdiff results?
          It's all explained in the manual (http://cufflinks.cbcb.umd.edu/manual.html): Test status can be one of OK (test successful), NOTEST (not enough alignments for testing), or FAIL, when an ill-conditioned covariance matrix or other numerical exception prevents testing.

          Comment


          • #6
            Thanks

            OK!
            Thank you very much

            Comment


            • #7
              genes_fpkm_tracking missing nearest_ref_id field

              Originally posted by chrisbala View Post
              Ok, I guess I've got it working ... I had to use a GTF with the proper features in order to get the gene names into the exp.diff file. Would be nice if I could get the Ensembl IDs to show up there or in the tracking file as well.
              Hi --

              What were those features of the GTF file that made it work? I'm currently struggling with Cuffcompare output that seems correct except that the "nearest_ref_id" field of genes.fpkm_tracking, etc. isn't filled in. If the attachment comes through you can see this.
              1. There are gene_id and transcript_id attributes in the reference file Hs_hg18_Ens_cuff.gtf, and
              2. they appear in the transcripts.gtf.refmap file, but
              3. All the genes.fpkm_tracking "nearest_ref_id&quot fields are blank.

              This isn't just annoying: I have large numbers of individual Cufflinks transcript lines with the same similar coordinates and decorated with the same gene short name that aren't combined in the gene expression stats, making them inaccurate.

              Howie
              Attached Files

              Comment


              • #8
                I had to put gene_name attributes in my file to get it to track all the way through to the end (I just copied them from gene_id). Also, I think I had to use the -s switch in cuffcompare, or else my final files were missing the gene names.

                Comment


                • #9
                  Hello again --

                  I got this response from Geo Pertea, a co-creator and maintainer of Cufflinks at UMD. Short answer: the missing nearest_ref_id field is a feature, not a bug. So this is closed as far as I'm concerned. The problems I'm having with the CuffDiff output are something else, like data. (BTW, I mistakenly said CuffCompare above, but ref fields in Cuffcompare output files like transcripts.gtf.refmap are populated as I said: it's CuffDiff output like genes.fpkm_tracking that omits them.)

                  Howie
                  =============================

                  There are a couple of known inconsistencies in the way reference *gene* names are parsed and used by cuffdiff from the input GTF file, these will be corrected in the next release. But in this particular case I think what you're seeing is just an artifact caused by the choice of a fixed format for all the *.fpkm_tracking files, and in the genes.fpkm_tracking file both class_code and nearest_ref_id columns are not supposed to be populated -- this is a design choice. The reason is that in that particular file the unit of analysis is the gene *locus*, not the transcript -- and there could be many reference transcripts for that locus, so essentially those 2 columns are just not populated at all in the genes.fpkm_tracking file. There is a note in the manual for the "class_code" column for that already, unfortunately it is not made clear that the same applies to the 3rd column (nearest_ref_id). We could've probably printed a comma delimited list of reference transcript IDs in that column but that would be ugly -- and you already have the isoforms.fpkm_tracking for that, if you really want to track reference transcripts.
                  Now about the second part of your issues with this file -- that statement that "cuffdiff does not aggregate the genes correctly", can you please clarify why do you think that is the case? Again, in this file only the loci (genes) are being tracked (the XLOC_* IDs you see in the 1st column) and while the coordinates in the 6th column may seem weird sometimes (because they actually show the largest enclosing region that overlaps that locus (XLOC_*) region instead of the original locus location, but that's just a display artifact), I can assure you that not showing the nearest_ref_ids in the 3rd column (for the reasons explained above) has nothing to do with the aggregation of transcripts into genes.. Transcripts are simply aggregated into genes by their gene ID - which is the XLOC_* id in this case, but it's really whatever the gene_id attribute has in the input GTF file.

                  --geo

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Strategies for Sequencing Challenging Samples
                    by seqadmin


                    Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                    03-22-2024, 06:39 AM
                  • seqadmin
                    Techniques and Challenges in Conservation Genomics
                    by seqadmin



                    The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                    Avian Conservation
                    Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                    03-08-2024, 10:41 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, Yesterday, 06:37 PM
                  0 responses
                  12 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, Yesterday, 06:07 PM
                  0 responses
                  10 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 03-22-2024, 10:03 AM
                  0 responses
                  52 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 03-21-2024, 07:32 AM
                  0 responses
                  68 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X