美文网首页
短序列比对软件参数和格式解读Bowtie2/SAM

短序列比对软件参数和格式解读Bowtie2/SAM

作者: 大肥口水垫 | 来源:发表于2017-08-15 18:09 被阅读0次

之前一贯使用的是BWA,根据文献描述,BWA速度比较慢但是比较精确,Bowtie比较快消耗的内存也比较小。目前用自己的8G笔记本,使用Bowtie比对二代测序reads到人类基因组上,的确是可以跑得开的。

首先,先区别一下这些大名鼎鼎的比对软件。

TopHat: a fast splice junction mapper for RNA-seq reads

Cufflinks: a tool for transcriptome assembly and isoform quantitiation from RNA-seq reads

Crossbow: a cloud-enabled software tool for analyzing resequencing data

Myrna: a cloud-enabled software tool for aligning RNA-seq reads and measuring differential gene expression

Bowtie2 参数:

参数如下:

第一步,是将你的reference进行index

Bowtie2结果文件 SAM格式解析:

SAM被tab键分割成12个列,tab分割有利于用shell脚本直接处理。当然SAMtools也可以承担一些工作。

1    比对到参考基因组上的reads的ID

2    进行标注的Flag值:1.这个reads是paired reads里面的一个; 2.这个比对是paired-end比对中的一端;4.这个read,没有任何比对上的结果;8.这个read是pair里面的一个,并且没有比对上;16.比对到了反义链上;32.另外一条read比对到了反义链;64.它是pair里面的第一条;128.它是pair里面的第二条。

把这些条件进行加和:比如83=64+16+2+1,代表paired-end序列的第一条read,并且比对到了反义链上。

3    比对到基因组的位置的染色体或者scaffold

4    以正义链来算,比对上的最左边的那个位置的bp数

5    比对的质量值

6    CIGAR string representation of alignment???应该是代表多少个Match多少个Mismatch

7    参考基因组被比上的序列,如果完全相同就是=,如果没比上就是*

8     这个read的另一个pair的read比对上的最左边的第一个氨基酸

9     它的pair read发生的位置在上下游的多少bp数,正为下游,负数为上游。

10    read sequence(reverse-complemented if aligned to the reverse strand)

11    ASCII码标注的质量

12    附加信息

AS:i:<N> 比对分数

XS:i:<N>在出现比对到多个位置的情况下,最佳比对的分数

用于Uniq过滤的参数!

YS:i:<N> 那个pair mate的比对分数

XN:i:<N> 多少个可疑的base

XM:i:<N> Mismatch的个数

XO:i:<N> gap open的个数  XE 是gap extension的个数

YF:Z:<S> read被过滤掉的原因。。。

NM:i:<N> The edit distance; that is, the minimal number of one-nucleotide edits

(substitutions, insertions and deletions) needed to transform the read

string into the reference string.  Only present if SAM record is for an

aligned read.

YT:Z:<S> Value of `UU` indicates the read was not part of a pair.  Value of `CP`

indicates the read was part of a pair and the pair aligned concordantly.

Value of `DP` indicates the read was part of a pair and the pair aligned

discordantly.  Value of `UP` indicates the read was part of a pair but the

pair failed to aligned either concordantly or discordantly.

MD : Z : <S>

A string representation of the mismatched reference bases in the alignment.

See [SAM] format specification for details.  Only present if SAM record is

for an aligned read.

相关文章

  • 短序列比对软件参数和格式解读Bowtie2/SAM

    之前一贯使用的是BWA,根据文献描述,BWA速度比较慢但是比较精确,Bowtie比较快消耗的内存也比较小。目前用自...

  • sam文件格式说明

    bowtie2是当前最流行的短序列比对软,SAM(SequenceAlignment/Map)格式是一种通用的比对...

  • 利用samtools将sam格式的文件与bam格式的文件进行相互

    bowtie2是当今流行的序列比对软件,其输出结果为sam后缀名的文件 sam格式是一种通用的比对格式,用来存储r...

  • samtools使用大全

    samtools是一个用于操作sam和bam文件(通常是短序列比对工具如bwa,bowtie2,hisat2,to...

  • 处理SAM、BAM你需要Samtools

    关于SAM Sam: I Want You! sam是短序列比对默认的标准格式,由sanger制定,是以TAB为分...

  • bam&sam文件浅析

    1. sam 和 bam 背景知识 现在最流行的短序列比对软件就是bwa 和 bowite2,而sam文件就是通过...

  • samtools

    序列比对:将测序reads与已知序列信息的基因或基因组进行比对,比对结果格式比较常见的是sam和bam文件。sam...

  • 【生信知识】---Nanopore测序的SV Calling流程

    1.软件安装安装序列比对软件LAST 安装sam格式处理工具sambamba 安装bedtools 安装结构变异识...

  • 比对软件|Samtools

    Samtools 是一组实用程序,用于操作 SAM(序列比对/映射)、BAM 和 CRAM 格式的比对。它在格式之...

  • SAM/BAM文件解读

    sam是短序列比对默认的标准格式,是以TAB为分割符的文本格式。主要应用于测序序列mapping到基因组上的结果表...

网友评论

      本文标题:短序列比对软件参数和格式解读Bowtie2/SAM

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