tophat输出结果junction.bed
2013-10-03 08:56
295 查看
tophat输出结果junction.bed
tophat输出结果junction.bed中定义的junction就是中间是intron两边是exon的这种序列结构, JUNC00000001包含两个exon和中间的intron
cat junctions.bed
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
<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
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: chrom - The name of the chromosome (e.g. chr3, chrY, chr2_random) or scaffold (e.g. scaffold10671). chromStart - The starting position of the feature in the chromosome or scaffold. The first base in a chromosome is numbered 0. 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: 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. 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:
thickStart - The starting position at which the feature is drawn thickly (for example, the start codon in gene displays). thickEnd - The ending position at which the feature is drawn thickly (for example, the stop codon in gene displays). 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. blockCount - The number of blocks (exons) in the BED line. blockSizes - A comma-separated list of the block sizes. The number of items in this list should correspond to blockCount. 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 - |
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
相关文章推荐
- Reflector的FileDisassembler插件输出结果为乱码的解决方案。(增加编码选择)
- Oracle将某字段查询结果按自定义格式封装输出以及解拆操作
- 【转载】实现输入文件夹输入检索类型输出相应结果0.01
- 输入一个复杂链表(每个节点中有节点值,以及两个指针,一个指向下一个节点,另一个特殊指针指向任意一个节点),返回结果为复制后复杂链表的head。(注意,输出结果中请不要返回参数中的节点引用,否则判题程序
- Phpstorm在控制台中输出运行结果
- java调用sqlplus执行批量脚本获得输出结果和调用.bat文件
- python 调用系统命令,并将输出重定向,输出其结果至文件或者字符串变量
- (面试)写出下面switch语句的输出结果
- php调用系统命令如何获得输出结果
- ANSYS实用教程|教你如何批量的输出结果图
- Node 实现 AES 加密,结果输出为“byte”。
- ABAP 在选择画面显示输出结果
- 今天开始学Java 给定一个正整数,编写程序计算有多少对质数的和等于输入的这个正整数,并输出结果。
- mysql的EXPLAIN关键字输出结果解释
- ORACLE STATSPACK REPORT输出结果解释
- 对输入的字符串进行反转并显示结果,例如输入字符串为hello,则程序应输出olleh。
- 面试题 以下程序的输出结果是什么
- other-如何可以查看别人请求的输出结果
- jstl中的sql:query标签获取的结果如何格式化输出