学习完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
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.
To configure this workflow, modify config/config.yaml
according to your needs, following the explanations provided in the file.
config/samples.tsv
. Only the column Sample
is mandatory, but any additional columns can be added.Unit
column of config/samples.tsv
.Group
column(experimental or clinical attribute).原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。