Differences in FPKM values for same sample in multiple comparisons
2
0
Entering edit mode
6.7 years ago

I have 7 samples (call them A,B,C,D,E,F,G). I want to compare all of the samples against sample A.

When I run cuffdiff for A against B, A against C .... and A against G, the FPKM for gene X for sample A in the AvB comparison will be different to the FPKM value for gene X for sample A in the AvC comparison etc.

Has anyone else noticed this in their own analyses? Should it be concerning?

cufflinks RNA-Seq • 2.3k views
ADD COMMENT
1
Entering edit mode

It happens because Cufflinks/Cuffdiff uses a statistical model where it considers all the data you supply. Since you provide differen input data the results are different. Use the contrast function as suggested by @Satya below.

ADD REPLY
0
Entering edit mode

Does this happen if you provide all comparisons together in the form of a contrast file with single cuffdiff command or when each comparison is tried with a separate cuffdiff command?

ADD REPLY
0
Entering edit mode

It happens when I do separate commands. I'm not sure how to do those kind of comparisons in one command. Would you be able to show me the general command for that kind of comparison, or point me in the direction of any help? Thanks

ADD REPLY
2
Entering edit mode
6.7 years ago
Satyajeet Khare ★ 1.6k

This is a typical cuffdiff command with contrast file.

cuffdiff --use-sample-sheet -C contrast.txt -p 10 -o cuffdiff_out Gene.gtf sample_sheet.txt

This does not change FPKMs in my experience.

ADD COMMENT
0
Entering edit mode

In your opinion, where there are multiple replicates for each sample, would you recommend running them all in one Tophat command prior to this, so that there is a single .bam file for each sample? If not would you advise on how the sample sheet and contrast.txt should be presented? Thanks for your continuing help

ADD REPLY
1
Entering edit mode

If you have multiple technical replicates, you can combine them into one .bam file. If you have biological replicates, they should better be kept separate. They can be grouped by providing a group name as a column in sample sheet. The contrast file will then compare groups one-by-one.

ADD REPLY
0
Entering edit mode
6.7 years ago

Thank you Kristoffer and Satya

ADD COMMENT

Login before adding your answer.

Traffic: 1525 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6