RNA-seq上下游分析snakemake流程

2024-06-11  本文已影响0人  生信探索

学习完snakemake后写的第一个流程是RNA-seq上游定量和下游的质控和差异分析。

使用fastp处理fastq文件,在使用START比对到基因组同时得到raw count,使用非冗余外显子长度作为基因的长度计算FPKM、TPM,同时也生成了CPM的结果。

非冗余外显子长度计算可以参考之前的推文转录组实战02: 计算非冗余外显子长度之和

对定量结果质控使用生信技能树的三张图(PCA、树状图、热图)。

使用python版的DEseq2对组间做差异分析(火山图和MA图)。

流程代码在https://jihulab.com/BioQuest/SnakeMake-RNA-seq或https://github.com/BioQuestX/SnakeMake-RNA-seq

A SnakeMake workflow for Bulk RNA-seq

Reads were mapped onto ensembl genome with STAR, and adapters were removed with fastp.

For nomalisztion, gtftools was used to calculate gene_length and bioninfokit was used to give TPM, FPKM and CPM results.

For quality control, PCA plot, dendrogram plot and heatmap were used to show differences among samples or groups.

PyDESeq2 was used to perform differential expression anlysis.

General settings

To configure this workflow, modifyconfig/config.yamlaccording to your needs, following the explanations provided in the file.

Sample sheet

Add samples toconfig/samples.tsv. Only the columnSampleis mandatory, but any additional columns can be added.

For each sample, add one or more sequencing units (runs, lanes or replicates) to theUnitcolumn ofconfig/samples.tsv.

For each sample, defineGroupcolumn(experimental or clinical attribute).

Report

上一篇下一篇

猜你喜欢

热点阅读