Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • How to name samples in CummeRbund?

    Hello,

    Problem: I cannot figure out which sample is which in Cummerbund or how to name them.

    Details:
    I used Galaxy to run Cufflinks, Cuffmerge, and Cuffdiff. I then downloaded files, renamed them to Cufflinks convention and am trying to visualize my data with CummeRbund in RStudio. I cannot figure out which sample is which and how to name them. For example, my density plot just shows samples as q1, q2.

    Can someone please help me out?

  • #2
    It seems possible that the only way to do this is to rename sample names from Sample1/q1, Sample2/q2, etc. in cuffdiff output. I understand from Cufflinks manual that the first sample input into cuffdiff is Sample1/q1 and the second is Sample2/q2.

    For example,

    285: control.bam
    287: test.bam
    414: cuffmerge.gtf

    425: Cuffdiff on data 285, data 287, and data 414: transcript FPKM tracking

    Output
    Sample 1= q1 = 285 = control.bam
    Sample 2 = q2 = 287 = test. bam

    Can someone confirm this and touch on whether this is normal workflow? Is there a way to enable Galaxy to keep original sample names?
    Last edited by veber; 05-25-2012, 04:40 PM.

    Comment


    • #3
      *Bump

      Anyone?

      Comment


      • #4
        N.B. I'm not familiar with Galaxy. Cuffdiff will set q1/q2 in the order of the files given to it. That is, if you execute "cuffdiff OPTIONS transcripts.gtf control.bam test.bam" or similar then control is usually q1. In the future, use the "-L Label1,Label2,..." switch to make your life easier. I would assume there's a way to do that in Galaxy.

        Comment


        • #5
          sed replacment

          If you run the experiment with several samples

          ie. cuffdiff -o cuffdiff/all REF.gff SAMPLE1.bam,SAMPLE1a.bam,SAMPLE1b.bam SAMPLE2.bam,SAMPLE2a.bam,SAMPLE2b.bam SAMPLE3.bam,SAMPLE3a.bam,SAMPLE3b.bam

          you can rename them by entering cuffdiff output directory and running:

          sed -i.bak -e 's/q1/SAMPLE1/g;s/q2/SAMPLE2/g;s/q3/SAMPLE3/g' *.diff *.info *_tracking

          Comment

          Latest Articles

          Collapse

          • seqadmin
            New Genomics Tools and Methods Shared at AGBT 2025
            by seqadmin


            This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

            The Headliner
            The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
            03-03-2025, 01:39 PM
          • seqadmin
            Investigating the Gut Microbiome Through Diet and Spatial Biology
            by seqadmin




            The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
            02-24-2025, 06:31 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 12:50 PM
          0 responses
          11 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-03-2025, 01:15 PM
          0 responses
          181 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 02-28-2025, 12:58 PM
          0 responses
          277 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 02-24-2025, 02:48 PM
          0 responses
          663 views
          0 likes
          Last Post seqadmin  
          Working...
          X