美文网首页
2020-06-21

2020-06-21

作者: ifreeman | 来源:发表于2020-06-23 22:52 被阅读0次

单词

established adj.已确立的;已获确认的;确定的;

Analysis of single cell RNA-seq data

  1. download all necessary files(bash poststart.sh)
    Or selective download:link
# poststart.sh
aws --endpoint-url https://cog.sanger.ac.uk --no-sign-request s3 cp s3://scrnaseq-course/data data --recursive
  1. download fastq files(link)
# 查看文件
less Share/ERR522959_1.fastq
less Share/ERR522959_2.fastq
  1. FastQC
mkdir fastqc_results
fastqc -o fastqc_results Share/ERR522959_1.fastq Share/ERR522959_2.fastq
  1. Trimming Reads
mkdir fastqc_trimmed_results
# --nextera是由 FastQC报告中的‘Adaptor Content’ 决定的
trim_galore --nextera -o fastqc_trimmed_results Share/ERR522959_1.fastq Share/ERR522959_2.fastq
  1. Using STAR to Align Reads
mkdir indices
mkdir indices/STAR

mkdir results
mkdir results/STAR

# setp1: create the index
STAR --runThreadN 4 --runMode genomeGenerate --genomeDir indices/STAR --genomeFastaFiles Share/2000_reference.transcripts.fa

# setp2: perform the mapping step
# 报错未解决: EXITING because of FATAL ERROR in reads input: short read sequence line: 0
# Read Name=@ERR522959.4784336
# Read Sequence====
# DEF_readNameLengthMax=50000
# DEF_readSeqLengthMax=650
STAR --runThreadN 4 --genomeDir indices/STAR --readFilesIn fastqc_trimmed_results/ERR522959_1_trimmed.fq fastqc_trimmed_results/ERR522959_2_trimmed.fq --outFileNamePrefix results/STAR/


STAR --runThreadN 4 --genomeDir indices/STAR --readFilesIn Share/ERR522959_1.fastq Share/ERR522959_2.fastq --outFileNamePrefix results/STAR/
  1. Kallisto and Pseudo-Alignment
  • STAR is a reads aligner, whereas Kallisto is a pseudo-aligner. The main difference between aligners and pseudo-aligners is that whereas aligners map reads to a reference, pseudo-aligners map k-mers to a reference.
  • Unlike STAR, Kallisto psuedo-aligns to a reference transcriptome rather than a reference genome.
  • batch.txt文件创建参考https://pachterlab.github.io/kallisto/manual
    创建batch.txt文件,输入以下内容:
    #id file1 file2
    cell1 Share/ERR522959_1.fastq Share/ERR522959_2.fastq
mkdir indices/Kallisto
mkdir results/Kallisto

# step1: produce the Kallisto index
kallisto index -i indices/Kallisto/transcripts.idx Share/2000_reference.transcripts.fa

# step2:  perform pseudo-alignment
kallisto pseudo -i indices/Kallisto/transcripts.idx -o results/Kallisto -b batch.txt 
  1. Construction of expression matrix

R

  1. R packages can be downloaded and installed directly from github using the “devtools” package.
install.packages("devtools")
require("devtools")
# the most recent “master” version of the package
devtools::install_github("tallulandrews/M3Drop")
# different branch
devtools::install_github("tallulandrews/M3D", ref="nbumi")
# previous commit
devtools::install_github("tallulandrews/M3Drop", ref="434d2da28254acc8de4940c1dc3907ac72973135")

相关文章

  • 2020-06-21

    2020-06-21 c8188374c45e 字数 199 · 阅读 0 2020-06-21 10:54 无题...

  • 2020-06-22

    2020-06-21 2020-06-20 2020-06-19 2020-06-18 2020-06-16 20...

  • 2020-06-24

    2020-06-23 2020-06-22 2020-06-21 2020-06-20 2020-06-19 20...

  • 2020-06-23

    2020-06-22 2020-06-21 2020-06-20 2020-06-19 2020-06-18 20...

  • 夏至

    节令时间 2020-06-21 05:43:33 农历:五月(大) 初一 夏至 本年度第 10 个节气 ——— —...

  • 173 写下来有种神奇的力量

    #每日精进173/200 2020-06-21 写下来有种神奇的力量,不管是开心,难过,还是焦虑,恐惧,把情绪写下...

  • 1排队-从众心理的应用

    2020-06-21 常见不少成功的生意被当作营销案例作为教材,或者教育别人,或者当作知识点教给各种各...

  • 【周总结】第九期第06周07号-醒

    2020-06-21 【本周计划/总结】 一、职业发展 啊噢……翻开今天的周总结,回顾上一周发现自己的目标居然没有...

  • 2020-06-21 有好灯:都说今年是个保命年,好多人的做法是

    2020-06-21 有好灯:都说今年是个保命年,好多人的做法是“藏器于身,待时而动;有道则见,无道则隐。”

  • 例会惊喜及收获

    2020-06-21早晨6:20-7:00,参加每周一次的例会,线上学习分享。 1.烨华主持轻松愉悦,把大家气氛带...

网友评论

      本文标题:2020-06-21

      本文链接:https://www.haomeiwen.com/subject/ctdoxktx.html