Boioinformatics Tips: Contrast file for cuffdiff

Cuffdiff, by default, compares each pair of conditions in your experiment. If you have many conditions, this can create a lot of additional work for the program. These extra conditions can cause Cuffdiff's output files to be very large, which can slow down CummeRbund and other downstream analysis software. Often, you are not interested in all pairwise contrasts. Rather, you'd like to compare all conditions to a common control, or only look at matched pairs of samples. You can specify the contrasts Cuffdiff should perform using a contrast file.
Contrast files are simple, tab delimited text files. They should have a single header line as the first line in the file, followed by one line for each contrast you'd like to perform. The files should have two columns, as specified below:
Column numberColumn nameExampleDescription
1condition_ACtrlA condition label. Must match one of the labels specified through -L or in the sample sheet.
1condition_BCtrlA condition label. Must match one of the labels specified through -L or in the sample sheet.

To run Cuffdiff with a contrast file, simply provide the -C <contrasts.txt> option at the command line. 
An example table might look like this:
condition_A condition_B
Ctrl Mutant_X
Ctrl Mutant_Y
Ctrl Mutant_Z  
   

Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR