find significant changes in transcript expression, splicing, and promoter use cufflinks cuffdiff_wrapper.py --FDR=$fdr --num-threads="4" --min-mapqual=$min_mapqual --min-alignment-count=$min_alignment_count --isoforms_fpkm_tracking_output=$isoforms_fpkm_tracking --genes_fpkm_tracking_output=$genes_fpkm_tracking --cds_fpkm_tracking_output=$cds_fpkm_tracking --tss_groups_fpkm_tracking_output=$tss_groups_fpkm_tracking --isoforms_exp_output=$isoforms_exp --genes_exp_output=$genes_exp --tss_groups_exp_output=$tss_groups_exp --cds_exp_fpkm_tracking_output=$cds_exp_fpkm_tracking --splicing_diff_output=$splicing_diff --cds_diff_output=$cds_diff --promoters_diff_output=$promoters_diff --inputA=$gtf_input --input1=$aligned_reads1 --input2=$aligned_reads2 **Cuffdiff Overview** Cuffdiff is part of Cufflinks_. Cuffdiff find significant changes in transcript expression, splicing, and promoter use. Please cite: Trapnell C, Williams BA, Pertea G, Mortazavi AM, Kwan G, van Baren MJ, Salzberg SL, Wold B, Pachter L. Transcript assembly and abundance estimation from RNA-Seq reveals thousands of new transcripts and switching among isoforms. Nature Biotechnology doi:10.1038/nbt.1621 .. _Cufflinks: http://cufflinks.cbcb.umd.edu/ ------ **Know what you are doing** .. class:: warningmark There is no such thing (yet) as an automated gearshift in expression analysis. It is all like stick-shift driving in San Francisco. In other words, running this tool with default parameters will probably not give you meaningful results. A way to deal with this is to **understand** the parameters by carefully reading the `documentation`__ and experimenting. Fortunately, Galaxy makes experimenting easy. .. __: http://cufflinks.cbcb.umd.edu/manual.html#cuffdiff ------ **Input format** Cuffdiff takes Cufflinks or Cuffcompare GTF files as input along with two SAM files containing the fragment alignments for two or more samples. .. ___: http://www.todo.org ------ **Outputs** Cuffdiff produces many output files: 1. Transcript FPKM expression tracking. 2. Gene FPKM expression tracking; tracks the summed FPKM of transcripts sharing each gene_id 3. Primary transcript FPKM tracking; tracks the summed FPKM of transcripts sharing each tss_id 4. Coding sequence FPKM tracking; tracks the summed FPKM of transcripts sharing each p_id, indepedent of tss_id 5. Transcript differential FPKM. 6. Gene differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each gene_id 7. Primary transcript differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each tss_id 8. Coding sequence differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each p_id independent of tss_id 9. Differential splicing tests: this tab delimited file lists, for each primary transcript, the amount of overloading detected among its isoforms, i.e. how much differential splicing exists between isoforms processed from a single primary transcript. Only primary transcripts from which two or more isoforms are spliced are listed in this file. 10. Differential promoter tests: this tab delimited file lists, for each gene, the amount of overloading detected among its primary transcripts, i.e. how much differential promoter use exists between samples. Only genes producing two or more distinct primary transcripts (i.e. multi-promoter genes) are listed here. 11. Differential CDS tests: this tab delimited file lists, for each gene, the amount of overloading detected among its coding sequences, i.e. how much differential CDS output exists between samples. Only genes producing two or more distinct CDS (i.e. multi-protein genes) are listed here. ------- **Settings** All of the options have a default value. You can change any of them. Most of the options in Cuffdiff have been implemented here. ------ **Cuffdiff parameter list** This is a list of implemented Cuffdiff options:: -m INT This is the expected (mean) inner distance between mate pairs. For, example, for paired end runs with fragments selected at 300bp, where each end is 50bp, you should set -r to be 200. The default is 45bp. -s INT The standard deviation for the distribution on inner distances between mate pairs. The default is 20bp. -Q Instructs Cufflinks to ignore alignments with a SAM mapping quality lower than this number. The default is 0. -c INT The minimum number of alignments in a locus for needed to conduct significance testing on changes in that locus observed between samples. If no testing is performed, changes in the locus are deemed not signficant, and the locus' observed changes don't contribute to correction for multiple testing. The default is 1,000 fragment alignments (up to 2,000 paired reads). --FDR FLOAT The allowed false discovery rate. The default is 0.05. --num-importance-samples INT Sets the number of importance samples generated for each locus during abundance estimation. Default: 1000 --max-mle-iterations INT Sets the number of iterations allowed during maximum likelihood estimation of abundances. Default: 5000