No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

readme.md 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. > Author : Zhihui Li
  2. >
  3. > E-mail:[18210700119@fudan.edu.cn](mailto:18210700119@fudan.edu.cn)
  4. >
  5. > Git: <http://choppy.3steps.cn/lizhihui/rna-seq.git>
  6. >
  7. > Last Updates: 28/08/2019
  8. ## 简介
  9. HISAT+StringTie+Ballgown转录组分析流程主要根据2016年发表在Nature Protocols上的一篇名为Transcript-level expression analysis of RNA-seq experiments with HISAT, StringTie and Ballgown的文章撰写的,主要用到以下三个软件:[HISAT] (http://ccb.jhu.edu/software/hisat/index.shtml)利用大量FM索引,以覆盖整个基因组,能够将RNA-Seq的读取与基因组进行快速比对,相较于STAR、Tophat,该软件比对速度快,占用内存少;
  10. [StringTie](http://ccb.jhu.edu/software/stringtie/)能够应用流神经网络算法和可选的de novo组装进行转录本组装并预计表达水平。与Cufflinks等程序相比,StringTie实现了更完整、更准确的基因重建,并更好地预测了表达水平;[Ballgown] (https://github.com/alyssafrazee/ballgown)是R语言中基因差异表达分析的工具,能利用RNA-Seq实验的数据(StringTie, RSEM, Cufflinks)的结果预测基因、转录本的差异表达。`rnaseq`是用于 [Choppy-pipe](http://choppy.3steps.cn/) 系统使用的 APP。本APP能生成表达谱所需的Ballgown文件夹。
  11. ## 快速安装及使用
  12. #### Requirements
  13. - Python 3
  14. - [choppy](http://choppy.3steps.cn/)
  15. - Ali-Cloud
  16. 在终端中输入以下命令即可快速安装本APP。
  17. ```bash
  18. 1.安装
  19. $ source activate choppy-py3
  20. $ choppy install lizhihui/rna-seq
  21. $ choppy apps
  22. 2.使用
  23. $ choppy samples rna-seq-latest --out Projectname_rnaseq_date_people.csv
  24. $ choppy batch rna-seq-latest Projectname_rnaseq_date_people.csv --project-name Projectname_rnaseq_date_people
  25. ```
  26. ## 使用方法
  27. ### 任务的准备
  28. 按照上述步骤安装成功之后,可以通过下面简单的命令即可使用APP:
  29. ```bash
  30. # Generate samples file
  31. $ choppy samples rna-seq-latest --out Projectname_rnaseq_date_people.csv
  32. ```
  33. `Projectname_fastqc_date_people.csv` 包含以下几个需要填写的参数:
  34. - 文件中必须包含的列为:
  35. - sample_id:样本名称,该名称将自动作为生成结果文件的前缀名
  36. - read1:原始FASTQ文件所在的OSS路径(仅R1)
  37. - read2:原始FASTQ文件所在的OSS路径(仅R2)
  38. ```bash
  39. read1,read2,sample_id
  40. # read1 双端测序数据的R1端在阿里云上的路径信息
  41. # read2 双端测序数据的R2端在阿里云上的路径信息
  42. # sample_id 每个样本任务的识别码。注意:同一个samples文件中,不同样本的ID应该不同
  43. ```
  44. ### 任务提交
  45. 在配置好`samples.csv` 文件后,使用以下命令可以提交计算任务:
  46. ```bash
  47. $ choppy batch rna-seq-latest Projectname_rnaseq_date_people.csv --project-name Projectname_rnaseq_date_people
  48. ```
  49. 提交成功后,即可在工作目录下找到生成的目录名为Projectname_rnaseq_date_people,里面包含了本次提交任务的所有样本信息。
  50. ### 任务输出
  51. 任务成功结束后,便可以在阿里云相应的OSS端生成相应的结果文件。包括数据产生的中间结果bam文件以及下游分析所需要的表达谱文件。
  52. ## APP流程概述
  53. ### 流程示意图
  54. ![image-20190828105109404](/Users/lizhihui/Library/Application Support/typora-user-images/image-20190828105109404.png)
  55. ​ 我们利用 HiSat2将高质量序列比对到人的参考基因组上,然后利用 Qualimap进行对比对质量评估。最后我们利用StringTie进行转录本重构和定量。使用Ballgown进行基因表达水平质量评估。
  56. ## 输出文件说明
  57. 运行APP后,
  58. 每个sample对应一个文件夹,内部结构如下:
  59. - call-hisat2
  60. - <sample_id>.sam
  61. - call-samtools
  62. - <sample_id>.sorted.bam 用来存储reads到参考序列二进制格式的比对信息,可以用来进行比对质量分析(使用[qualimap APP](http://choppy.3steps.cn/huangyechao/qualimap)分析)
  63. - <sample_id>.sorted.bam.bai
  64. - call-stringtie
  65. - <sample_id>.cov.ref.gtf
  66. - ballgown 下载后可以用R进行转录组下游分析
  67. - <sample_id>.gene.abundance.txt 下载后可以用R进行转录组下游分析
  68. ## 软件版本及参数
  69. ### 软件版本
  70. 1. hisat2 :v2.1.0-2
  71. 2. samtools:v1.3.1
  72. 3. stringtie:v1.3.4
  73. ###使用参数
  74. 1. hisat2.cluster: OnDemand bcs.a2.3xlarge img-ubuntu-vpc
  75. 2. samtools.cluster: OnDemand bcs.a2.large img-ubuntu-vpc
  76. 3. stringtie.cluster: OnDemand bcs.a2.large img-ubuntu-vpc
  77. 4. gtf:Homo_sapiens.GRCh38.93.gtf (oss://pgx-reference-data/reference/annotation/Homo_sapiens.GRCh38.93.gtf)
  78. 5. Index:hg38 (oss://pgx-reference-data/reference/hisat2/grch38_snp_tran/)
  79. ## 参考文献
  80. [1]Pertea M , Kim D , Pertea G M , et al. Transcript-level expression analysis of RNA-seq experiments with HISAT, StringTie and Ballgown[J]. Nature Protocols, 2016, 11(9):1650-1667.