暗能星系

    • 登录
    • 搜索

    nanopore甲基化分析

    生物信息分析
    1
    1
    4
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • A
      anneng 最后由 anneng 编辑

      https://nanopolish.readthedocs.io/en/latest/quickstart_call_methylation.html
      安装:速度可能比较慢 可以把仓库加载到码云
      git clone --recursive https://github.com/jts/nanopolish.git
      cd nanopolish
      make
      make过程会下载hdf5-1.8.14 可以直接用axel先加速下载再编译
      预处理 将原始文件和fastq关联起来
      nanopolish index -d fast5_files/ output.fastq

      和参考序列进行比对:
      minimap2 -a -x map-ont reference.fasta output.fastq | samtools sort -T tmp -o output.sorted.bam
      samtools index output.sorted.bam
      计算甲基化:
      nanopolish call-methylation -t 8 -r output.fastq -b output.sorted.bam -g reference.fasta -w "chr20:5,000,000-10,000,000" > methylation_calls.tsv
      统计:
      scripts/calculate_methylation_frequency.py methylation_calls.tsv > methylation_frequency.tsv

      1 条回复 最后回复 回复 引用 0
      • First post
        Last post
      Powered by 暗能星系