Question: running tophat+cufflinks but result in 0 FPKMs
gravatar for lin.pei26
5.9 years ago by
lin.pei26100 wrote:


I am running tophat+cufflinks to analyze a RNA-seq dataset downloaded from GEO[1]

below is my procedure[2].( I run fastq-dump to convert the sra file into fastq.)

but I found the FPKM values are all 0 in my resulting transcripts.gtf file.

Could you please give me some tips/advices on how to calculate the FPKM values ?

Thanks a lot!



tophat mm9 SRR306758.fastq

[Mon Jan  5 14:23:52 2015] Beginning TopHat run (v1.3.1)


[Mon Jan  5 14:23:52 2015] Preparing output location ./tophat_out/

[Mon Jan  5 14:23:52 2015] Checking for Bowtie index files

[Mon Jan  5 14:23:52 2015] Checking for reference FASTA file

Warning: Could not find FASTA file mm9.fa

[Mon Jan  5 14:23:52 2015] Reconstituting reference FASTA file from Bowtie index

Executing: /genome/bin/bowtie-inspect mm9 > ./tophat_out/tmp/mm9.fa

[Mon Jan  5 14:26:32 2015] Checking for Bowtie

Bowtie version:

[Mon Jan  5 14:26:32 2015] Checking for Samtools

Samtools Version: 0.1.19

[Mon Jan  5 14:26:32 2015] Generating SAM header for mm9

[Mon Jan  5 14:27:03 2015] Preparing reads

format: fastq

quality scale: phred33 (default)

Left  reads: min. length=76, count=18238434

[Mon Jan  5 14:33:01 2015] Mapping left_kept_reads against mm9 with Bowtie 

[Mon Jan  5 15:37:36 2015] Processing bowtie hits

[Mon Jan  5 15:50:07 2015] Mapping left_kept_reads_seg1 against mm9 with Bowtie (1/3)

[Mon Jan  5 16:59:49 2015] Mapping left_kept_reads_seg2 against mm9 with Bowtie (2/3)

[Mon Jan  5 18:15:05 2015] Mapping left_kept_reads_seg3 against mm9 with Bowtie (3/3)

[Mon Jan  5 19:11:27 2015] Searching for junctions via segment mapping

[Mon Jan  5 19:17:48 2015] Retrieving sequences for splices

[Mon Jan  5 19:21:26 2015] Indexing splices

[Mon Jan  5 19:21:44 2015] Mapping left_kept_reads_seg1 against segment_juncs with Bowtie (1/3)

[Mon Jan  5 19:31:38 2015] Mapping left_kept_reads_seg2 against segment_juncs with Bowtie (2/3)

[Mon Jan  5 19:41:48 2015] Mapping left_kept_reads_seg3 against segment_juncs with Bowtie (3/3)

[Mon Jan  5 19:50:39 2015] Joining segment hits

[Mon Jan  5 19:59:59 2015] Reporting output tracks


Run complete [05:46:13 elapsed]

cufflinks accepted_hits.bam -G /disk4/linp/brawand_Data/Mus_musculus.NCBIM37.60.gtf -o SRR306758_trial_1

You are using Cufflinks v2.2.1, which is the most recent release.

[09:45:41] Loading reference annotation.

[09:45:55] Inspecting reads and determining fragment length distribution.

> Processed 27910 loci.                        [*************************] 100%

> Map Properties:

> Normalized Map Mass: 13631307.57

> Raw Map Mass: 13631307.57

> Fragment Length Distribution: Truncated Gaussian (default)

>               Default Mean: 200

>            Default Std Dev: 80

[09:46:29] Estimating transcript abundances.

> Processing Locus 8:122386172-122400888       [************************ ]  99%

8:122434259-126869624 Warning: Skipping large bundle.

> Processed 27909 loci.                        [*************************] 100%

fpkm tophat cufflinks • 2.1k views
ADD COMMENTlink modified 5.8 years ago • written 5.9 years ago by lin.pei26100

Can you check the alignment statistic? E.g. how many reads are mapped to the genome? Have you try to ask cufflink to also output the raw read counts? 

ADD REPLYlink written 5.9 years ago by Sam3.3k

Can you check accepted_hits.bam file and see that you mapped a reasonable number of reads?

Have you tried using cufflinks -g? HAve you checked that the names in your reference gtf file are EXACTLY the same of those you used for mapping on? Otherwise you will not map anything (beacuse you are using -G)


ADD REPLYlink written 5.9 years ago by Fabio Marroni2.6k
gravatar for lin.pei26
5.8 years ago by
lin.pei26100 wrote:


these days I was suffering from calculation of gene expression values (FPKM) based on RNA-seq data.

Now I figure out the very basic procedure which I wish to share with you here:

GTF file was downloaded from ensembl:

genome sequence data was downloaded from:

after decompressing, run:

bowtie-build Drosophila_melanogaster.BDGP5.25.62.dna_rm.toplevel.fa dmelanogasterBDGP5_25_62


tophat -G Drosophila_melanogaster.BDGP5.25.62.gtf -o C1_R1_thout -r 200 /disk4/linp/DataSeq/Drosophila_melanogaster/dmelanogasterBDGP5_25_62 GSM794484_C1_R1_1.fq GSM794484_C1_R2_2.fq

cufflinks -G Drosophila_melanogaster.BDGP5.25.62.gtf -o C1_R1_clout C1_R1_thout/accepted_hits.bam


These commands will calculate FPKM values for each transcripts(genes), using transcripts IDs as identifiers, rather than something like "CUFF.2.2".

the parameter -r may be tested by different values before making the final choice. (I have not tried it yet)


Thank you!

ADD COMMENTlink written 5.8 years ago by lin.pei26100
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1568 users visited in the last hour