tophat输出结果junction.bed

BED format  
 
 

BED format provides a flexible way to define the data lines that are displayed in an annotation track. BED lines have three required fields and nine additional optional fields. The number of fields per line must be consistent throughout any single set of data in an annotation track. The order of the optional fields is binding: lower-numbered fields must always be populated if higher-numbered fields are used.

If your data set is BED-like, but it is very large and you would like to keep it on your own server, you should use the bigBed data format.

The first three required BED fields are:

  1. chrom - The name of the chromosome (e.g. chr3, chrY, chr2_random) or scaffold (e.g. scaffold10671).
  2. chromStart - The starting position of the feature in the chromosome or scaffold. The first base in a chromosome is numbered 0.
  3. chromEnd - The ending position of the feature in the chromosome or scaffold. The chromEnd base is not included in the display of the feature. For example, the first 100 bases of a chromosome are defined as chromStart=0, chromEnd=100, and span the bases numbered 0-99.

The 9 additional optional BED fields are:

  1. name - Defines the name of the BED line. This label is displayed to the left of the BED line in the Genome Browser window when the track is open to full display mode or directly to the left of the item in pack mode.
  2. score - A score between 0 and 1000. If the track line useScore attribute is set to 1 for this annotation data set, the score value will determine the level of gray in which this feature is displayed (higher numbers = darker gray). This table shows the Genome Browser's translation of BED score values into shades of gray:
    shade                  
    score in range   ≤ 166 167-277 278-388 389-499 500-611 612-722 723-833 834-944 ≥ 945
  3. strand - Defines the strand - either '+' or '-'.
  4. thickStart - The starting position at which the feature is drawn thickly (for example, the start codon in gene displays).
  5. thickEnd - The ending position at which the feature is drawn thickly (for example, the stop codon in gene displays).
  6. itemRgb - An RGB value of the form R,G,B (e.g. 255,0,0). If the track line itemRgb attribute is set to "On", this RBG value will determine the display color of the data contained in this BED line. NOTE: It is recommended that a simple color scheme (eight colors or less) be used with this attribute to avoid overwhelming the color resources of the Genome Browser and your Internet browser.
  7. blockCount - The number of blocks (exons) in the BED line.
  8. blockSizes - A comma-separated list of the block sizes. The number of items in this list should correspond to blockCount.
  9. blockStarts - A comma-separated list of block starts. All of the blockStart positions should be calculated relative to chromStart. The number of items in this list should correspond to blockCount.

Example:
Here's an example of an annotation track that uses a complete BED definition:

track name=pairedReads description="Clone Paired Reads" useScore=1
chr22 1000 5000 cloneA 960 + 1000 5000 0 2 567,488, 0,3512
chr22 2000 6000 cloneB 900 - 2000 6000 0 2 433,399, 0,3601

Example:
This example shows an annotation track that uses the itemRgb attribute to
individually color each data line. In this track, the color scheme distinguishes
between items named "Pos*" and those named "Neg*". See the
usage note in the itemRgb description above for color palette
restrictions.
NOTE: The track and data lines in this example have been reformatted for
documentation purposes. This example can be pasted into the browser without editing.

browser position chr7:127471196-127495720
browser hide all
track name="ItemRGBDemo" description="Item RGB demonstration" visibility=2
itemRgb="On"
chr7 127471196 127472363 Pos1 0 + 127471196 127472363 255,0,0
chr7 127472363 127473530 Pos2 0 + 127472363 127473530 255,0,0
chr7 127473530 127474697 Pos3 0 + 127473530 127474697 255,0,0
chr7 127474697 127475864 Pos4 0 + 127474697 127475864 255,0,0
chr7 127475864 127477031 Neg1 0 - 127475864 127477031 0,0,255
chr7 127477031 127478198 Neg2 0 - 127477031 127478198 0,0,255
chr7 127478198 127479365 Neg3 0 - 127478198 127479365 0,0,255
chr7 127479365 127480532 Pos5 0 + 127479365 127480532 255,0,0
chr7 127480532 127481699 Neg4 0 - 127480532 127481699 0,0,255

Example:
It is also possible to color items by strand in a BED track
using the colorByStrand attribute in the
track line as shown
below. For BED tracks, this attribute functions only for custom tracks
with 6 to 8 fields (i.e. BED6 through BED8).
NOTE: The track and data lines in this example have been reformatted for
documentation purposes. This example can be pasted into the browser without editing.

browser position chr7:127471196-127495720
browser hide all
track name="ColorByStrandDemo" description="Color by strand demonstration"
visibility=2 colorByStrand="255,0,0 0,0,255"
chr7 127471196 127472363 Pos1 0 +
chr7 127472363 127473530 Pos2 0 +
chr7 127473530 127474697 Pos3 0 +
chr7 127474697 127475864 Pos4 0 +
chr7 127475864 127477031 Neg1 0 -
chr7 127477031 127478198 Neg2 0 -
chr7 127478198 127479365 Neg3 0 -
chr7 127479365 127480532 Pos5 0 +
chr7 127480532 127481699 Neg4 0 -

tophat输出结果junction.bed中定义的junction就是中间是intron两边是exon的这种序列结构, JUNC00000001包含两个exon和中间的intron

cat junctions.bed

track name=junctions description="TopHat junctions"
test_chromosome 177 400 JUNC00000001 61 + 177 400 255,0,0 2 73,50 0,173
test_chromosome 350 550 JUNC00000002 45 + 350 550 255,0,0 2 50,50 0,150

exon1: 177-250(display), 177-249(actual)
intron: 250-350(display), 250-349(actual)
exon2: 350-400(display), 350-399(actual)

chrom(test_chromosome): The name of the chromosome.
这里就是test_chromosome
chromStart(177): The starting position of the feature in the
chromosome or scaffold. The first base in a chromosome is numbered
0
.
chromosome上feature(在这里就是junction)的起始位置
chromEnd(400): The ending position of the feature in the chromosome
or scaffold. The chromEnd base is not included in the display of
the feature. For example,
the first 100 bases of a chromosome are
defined as chromStart=0, chromEnd=100, and span the bases numbered
0-99.

对应的终止位置
name(JUNC00000001): Defines the name of the BED line.
score(61): A score between 0 and 1000.
strand(+): Defines the strand: either '+' or '-'.
thickStart(177): The starting position at which the feature is
drawn thickly (for example, the start codon in gene
displays).
thickEnd(400): The ending position at which the feature is drawn
thickly (for example, the stop codon in gene displays).
itemRgb(255,0,0): An RGB value of the form R,G,B (e.g. 255,0,0). If
the track line itemRgb attribute is set to "On", this RBG value
will determine the display color of the data contained in this BED
line. NOTE: It is recommended that a simple color scheme (eight
colors or less) be used with this attribute to avoid overwhelming
the color resources of the Genome Browser and your Internet
browser.
blockCount(2): The number of blocks (exons) in the BED line.
外显子个数,2个
blockSizes(73,50): A comma-separated list of the block sizes. The
number of items in this list should correspond to
blockCount.外显子大小,两个数字用逗号隔开
blockStarts(0,173): A comma-separated list of block starts. All of
the blockStart positions should be calculated relative to
chromStart. The number of items in this list should correspond to
blockCount.
外显子起始位置,不从chromosome的起始开始,而是从chromStart开始数,也就是junction的起始位置开始计算,第一个碱基是0

bed_to_junc转换后得到.juncs其中只保留了junction中intron的部分
cat new_list.juncs

test_chromosome 249     350     +
test_chromosome 399 500 +

<chrom> <left> <right> <+/->

http://genome.ucsc.edu/FAQ/FAQformat.html#format1

http://www.ensembl.org/info/website/upload/bed.html
http://zhongguozhanying.blog.163.com/blog/static/21618709520135484450746/
http://blog.sina.com.cn/s/blog_7cffd14001012rtd.html
https://github.com/WormBase/wormbase-pipeline/blob/master/scripts/align_RNASeq.pl

tophat输出结果junction.bed的更多相关文章

  1. 使用Tophat+cufflinks分析差异表达

    使用Tophat+cufflinks分析差异表达  2017-06-15 19:09:43     522     0     0 使用TopHat+Cufflinks的流程图 序列的比对是RNA分析 ...

  2. RNA-seq连特异性

    RNA-seq连特异性 Oct 15, 2015 The strandness of RNA-seq analysis 前段时间一直在研究关于illumina TrueSeq stranded RNA ...

  3. tophat的用法

    概述:tophat是以bowtie2为核心的一款比对软件. tophat工作分两步: 1.将reads用bowtie比对到参考基因组上. 2.将unmapped-reads打断成更小的fragment ...

  4. TopHat

    What is TopHat? TopHat is a program that aligns RNA-Seq reads to a genome in order to identify exon- ...

  5. RNA-seq差异表达基因分析之TopHat篇

    RNA-seq差异表达基因分析之TopHat篇 发表于2012 年 10 月 23 日 TopHat是基于Bowtie的将RNA-Seq数据mapping到参考基因组上,从而鉴定可变剪切(exon-e ...

  6. poj 1041(字典序输出欧拉回路)

    John's trip Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8641   Accepted: 2893   Spe ...

  7. 链终止法|边合成边测序|Bowtie|TopHat|Cufflinks|RPKM|FASTX-Toolkit|fastaQC|基因芯片|桥式扩增|

    生物信息学 Sanger采用链终止法进行测序 带有荧光基团的ddXTP+其他四种普通的脱氧核苷酸放入同一个培养皿中,例如带有荧光基团的ddATP+普通的脱氧核苷酸A.T.C.G放入同一个培养皿,以此类 ...

  8. mapreduce多文件输出的两方法

    mapreduce多文件输出的两方法   package duogemap;   import java.io.IOException;   import org.apache.hadoop.conf ...

  9. Android Studio 多个编译环境配置 多渠道打包 APK输出配置

    看完这篇你学到什么: 熟悉gradle的构建配置 熟悉代码构建环境的目录结构,你知道的不仅仅是只有src/main 开发.生成环境等等环境可以任意切换打包 多渠道打包 APK输出文件配置 需求 一般我 ...

随机推荐

  1. Repeater中将int类型和bool类型的字段以字符显示出来

    图一 图二 比如将图一中是否显示中的列显示以图二中的方式显示: 方法1: 1.在后台编写方法:a.aspx.cs代码如下 //IsShow字段显示的方法public string GetStrIsSh ...

  2. js中的等号与非等号

    等号与非等号都会进行类型转换,转换规则如下: 1 如果有一个是boolean值,则true改为1,false改为0  false == 0 ; true == 1 返回true  true == 2 ...

  3. undefined local variable or method ‘xxx’ for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0xbc88d6c>错误解决方案

    官方文档如下: https://github.com/rspec/rspec-rails/blob/master/Capybara.md Capybara 2.0 To use Capybara 2. ...

  4. 自从用了Less 编写css,你比以前更快了~(sublime编译)

    之所以用这个标题呢,主要是最近调侃杰伦太有意思了. 好吧,开个玩笑而已. 如果你了解过Less,并对之很熟悉,就不用往下看了. 如果你没用过,恭喜,这是一个入门级的教程,学会了它,可以为你节省10%的 ...

  5. AvalonDock 2.0 的简单运用

    最近在研究AvalonDock的一些使用,碰到了一些问题.现在拿出来跟大家分享分享. 网上找了一大把AvalonDock 1.3版本的资料,弄出Demo后发现属性面板(DockableContent) ...

  6. poj 3415 Common Substrings 后缀数组+单调栈

    题目链接 题意:求解两个字符串长度 大于等于k的所有相同子串对有多少个,子串可以相同,只要位置不同即可:两个字符串的长度不超过1e5; 如 s1 = "xx" 和 s2 = &qu ...

  7. ems lite 客户端远程连接mysql server

    在本地用ems客户端远程连接虚拟机上的mysql server,弹出客户端没有权限访问mysql server.使用下面方法进行设置:mysql> select host,user,passwo ...

  8. UltraEdit 列模式

    使用UltraEdit 列模式 1 进入UltraEdit列模式 a)       通过快捷方式 Alt +c b)       UltraEdit --> Column Mode

  9. ios Base64编解码工具类及使用

    为了避免明码传递http内容,可以用base64编码后传输,收到方再解码,也方便了2进制数据的字符串式传输. 对于ios来说,google给提供了一个很好的工具类,方便进行base64编解码,当然也可 ...

  10. Who needs an architect?---Martin Fowler

    英文及译文下载链接:http://pan.baidu.com/share/link?shareid=163291504&uk=1428554614 1.文章主题总结 首先我们从文章的几个小标题 ...