Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Parharn
    Member
    • Jul 2013
    • 84

    cuffdiff - cummerbund - fold change

    Hi,
    Is there a way that I can have a list of genes with expression fold change of X, instead of significant genes, using cummeRbund and cuffdiff?

    Thanks,
    Parham
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    Yes, in the cuffdiff output folder there is a gene_exp.diff file, the 10th column is the log2 fold change.
    awk -F"\t" '{if($10==X)print $1}' gene_exp.diff # where X is the specified fold change.

    Comment

    • Parharn
      Member
      • Jul 2013
      • 84

      #3
      Yes, I could see the log2 in the data file but I didn't know how to list them using command lines. I am not a linux expert. However I tried your command line but it gives this error:

      > awk -F"\t" '{if($10==1.5)print $1}' gene_exp.diff #
      Error: unexpected string constant in "awk -F"\t""

      and could you write what if I want it to show all the genes with a fold change of equal and bigger than X? thanks.

      Comment

      • Parharn
        Member
        • Jul 2013
        • 84

        #4
        oops I guess I made a mistake. I ran the command in R then!
        Now I tried it in normal terminal, I don't know what you call it. But it gave me a long list! So it seems it works. I still appreciate to know how to change it to show values equal and bigger/smaller! thanks.

        Update: all the files it sorted has a characteristic like:

        SPATRNATHR.02 SPATRNATHR.02 SPATRNATHR.02 I:2433047-2433119 tag5 tag7 NOTEST 0 0 0 0 1 1 no
        Last edited by Parharn; 01-14-2014, 04:59 AM.

        Comment

        • jeales
          Member
          • Oct 2012
          • 13

          #5
          If you're not familiar with R or cmd line then just import it into excel, sort by log2 fold change then remove the range of values you don't want

          Comment

          • Parharn
            Member
            • Jul 2013
            • 84

            #6
            Thanks jeales.

            Comment

            Latest Articles

            Collapse

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 06-09-2026, 11:58 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-05-2026, 10:09 AM
            0 responses
            33 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-04-2026, 08:59 AM
            0 responses
            40 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-02-2026, 12:03 PM
            0 responses
            62 views
            0 reactions
            Last Post SEQadmin2  
            Working...