Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • cuffdiff questions

    Hi,

    I am working on RNA-seq data (Solid) which contains 2 sample groups and each group contains 5 biological replicates. I am interested in finding the differentially expressed genes between these 2 groups. I want to use cuffdiff for this purpose. However, I have certain questions:

    1) Does cuffdiff find differentially expressed genes between the groups or across the replicates?

    2) Data can be normalized using the option -N (upper quartile normalization). I believe it carries out within sample normalization but what about sample to sample normalization? Does cuffdiff carries out sample to sample normalization before comparing the groups?

    Can anyone kindly answer these questions?


    Thank you

  • #2
    I think I can help with your first question.

    Cuffdiff can find the differentially expressed genes between groups or across replicates depending on how you input your data.

    For example:
    Group1 has replicates A, B, C, D, and E
    Group 2 has replicates 1, 2, 3, 4, 5

    #all vs all comparison
    $ cuffdiff transcripts.gtf A B C D E 1 2 3 4 5

    #group 1 vs group 2 comparison
    $ cuffdiff transcripts.gtf A,B,C,D,E 1,2,3,4,5

    In the group vs group comparison the biological replicates are linked together by commas.

    -Pete
    Peter Jorth
    PhD Student
    Whiteley Lab
    Molecular Genetics and Microbiology
    University of Texas at Austin

    Comment


    • #3
      Hi Peter,

      Thank you for your reply. I used cuffdiff for group1 vs group2 analysis, but all my output files are empty

      Comment


      • #4
        Pinki, what does the screen output tell you? Cufflinks output is usually pretty informative.

        Comment


        • #5
          Pinki, check all output files of cuffdiff. Did you go through cufflinks, cuffcompare, and cuffdiff? Please check all the outout (cufflinks - gtf), cuffcompare (gtf), and cuffdiff (_diff and _fpkm.tracking).

          Douglas

          Comment


          • #6
            Hi,

            I downloaded the new version of cufflinks and again tried to use cuffdiff. I just used the -N option for upper quartile normalization and my output files are again empty. I got the following warning messages

            [09:52:55] Modeling fragment count overdispersion.
            Warning: fragment count variances between replicates are all zero, reverting to Poisson model
            Warning: Using default Gaussian distribution due to insufficient paired-end reads in open ranges. It is recommended that correct paramaters (--frag-len-mean and --frag-len-std-dev) be provided.
            > Map Properties:
            > Upper Quartile: 93.00
            > Read Type: 50bp single-end
            > Fragment Length Distribution: Truncated Gaussian (default)
            > Default Mean: 200
            > Default Std Dev: 80


            And this was repeated quite a number of times with different upper quartile values.

            Note: I am using the .gtf file downloaded from ftp://ftp.ensembl.org/pub/release-54/gtf/homo_sapiens/ (for the hg18 build)

            Thank you
            Last edited by pinki999; 05-23-2011, 10:58 PM.

            Comment


            • #7
              Hi pinki999,

              Do you fix the problem already?
              I'm facing the same error message as well
              need your advice....
              how to correct (--frag-len-mean and --frag-len-std-dev)?

              Comment


              • #8
                Originally posted by pjorth View Post
                I think I can help with your first question.

                Cuffdiff can find the differentially expressed genes between groups or across replicates depending on how you input your data.

                For example:
                Group1 has replicates A, B, C, D, and E
                Group 2 has replicates 1, 2, 3, 4, 5

                #all vs all comparison
                $ cuffdiff transcripts.gtf A B C D E 1 2 3 4 5

                #group 1 vs group 2 comparison
                $ cuffdiff transcripts.gtf A,B,C,D,E 1,2,3,4,5

                In the group vs group comparison the biological replicates are linked together by commas.

                -Pete
                I used this in command line:

                cuffdiff -o diff_out4 -b ../genome/ce10.fa -p 2 -L larval,early -u merged_asm/merged.gtf ../tophat/em/SRR493359_60_61_thout/accepted_hits.bam ../tophat/em/SRR493363_64_65_thout/accepted_hits.bam

                here SRR493359_60_61 is one group and SRR493363_64_65 is the other group. This worked for me.

                Now I want to run this from a python script. So, I gave a call in this way.

                do.call([cfg.tool_cmd("cuffdiff"), "-p", str(cfg.project["analysis"]["threads"]), "-b", str(cfg.project["genome"]["fasta"]), "-u", cfg.project["samples"][0]["files"]["merging_gtf"], "-L", str(cfg.project["phenotype"][0]), str(cfg.project["phenotype"][1]), "-o", output_folder] + [cfg.project["samples"][0]["files"]["bam"] cfg.project["samples"][1]["files"]["bam"]], cfg.project["analysis"]["log_file"])

                here
                str(cfg.project["phenotype"][0]) is larval
                str(cfg.project["phenotype"][1]) is early

                I get an error: invalid syntax. Can you please help in this. Thanks in Advance

                Comment


                • #9
                  @bvk: The error you are getting is likely not from cuffdiff. It appears to be coming from your python script. I recommend that you create a new thread and indicate that you need help with a python error in the tile.

                  Comment


                  • #10
                    Originally posted by GenoMax View Post
                    @bvk: The error you are getting is likely not from cuffdiff. It appears to be coming from your python script. I recommend that you create a new thread and indicate that you need help with a python error in the tile.
                    ok. Thankyou

                    Comment

                    Latest Articles

                    Collapse

                    • seqadmin
                      Advancing Precision Medicine for Rare Diseases in Children
                      by seqadmin




                      Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                      12-16-2024, 07:57 AM
                    • seqadmin
                      Recent Advances in Sequencing Technologies
                      by seqadmin



                      Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                      Long-Read Sequencing
                      Long-read sequencing has seen remarkable advancements,...
                      12-02-2024, 01:49 PM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by seqadmin, 12-17-2024, 10:28 AM
                    0 responses
                    22 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 12-13-2024, 08:24 AM
                    0 responses
                    42 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 12-12-2024, 07:41 AM
                    0 responses
                    28 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 12-11-2024, 07:45 AM
                    0 responses
                    42 views
                    0 likes
                    Last Post seqadmin  
                    Working...
                    X