ginseachen的个人博客分享 http://blog.sciencenet.cn/u/ginseachen

博文

How to calculate FPKM values of interested genes

已有 5545 次阅读 2014-7-3 10:21 |系统分类:科研笔记|关键词:学者| RNA-seq, Bowtie2, FPKM, cufflinks

FPKM, Fragments Kilobase of exon model per millon mapped reads, which can be used to indicate the expression (abundance) characteristics of genes. Now I will describe operation about obtaining interested gene FPKM value.

1.Software Download

1).fastq-dump: convert sra file to fastq file.

  website:http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software 

2).bowtie:an ultrafast and memory efficient tool for aligning sequencing reads to long reference sequences.

  website:http://bowtie-bio.sourceforge.net/bowtie2/index.shtml 

3).cufflinks:assembles transcripts, estimates their abundances, and tests for differential expression and regulation in RNA-Seq samples.

  website:http://cufflinks.cbcb.umd.edu/ 

4).gffread: convert gff3 file to gtf file.

  website:http://cufflinks.cbcb.umd.edu/ (This program is included with cufflinks package)

2. Operation

1) Download genome.fa and genes.gff3 file from genome website; Download sra file from NCBI

2) Format conversion

  $ fastq-dump -I --split-files SRR123456789.sra # convert sra file to fastq file

  $ gffread -E genes.gff3 -o genes.gtf # convert gff3 file to gtf file

3) Index files

  $bowtie2-build genome.fa genome

4) Alignment

  $bowtie2 -x genome -1 SRR123456789_1.fastq -2 SRR123456789_2.fastq -S SRR123456789.sam

  $samtools view -bS SRR123456789.sam > SRR123456789.bam

  $samtools sort SRR123456789.bam SRR123456789

5) FPKM values

  $cufflinks SRR123456789.bam -G genes.gtf -o result

After these operations, we can extract FPKM values from genes.frkm_tracking file based on gene ID.

Notes: If you find some bugs, please contact me.



https://m.sciencenet.cn/blog-1334016-808631.html

上一篇:The question and solution of GEOquery install
下一篇:heatmap.2绘制热图

1 Vetaren11

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-11 04:22

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部