加载中…
个人资料
熊朝亮
熊朝亮
  • 博客等级:
  • 博客积分:0
  • 博客访问:435
  • 关注人气:21
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

【twoBitToFa】bed转换成fasta文件

(2014-09-19 16:29:54)
twoBitToFa程序说明:
twoBitToFa - Convert all or part of .2bit file to fasta
usage:
   twoBitToFa input.2bit output.fa
options:
   -seq=name - restrict this to just one sequence
   -start=X  - start at given position in sequence (zero-based)
   -end=X - end at given position in sequence (non-inclusive)
   -seqList=file - file containing list of the desired sequence names 
                    in the format seqSpec[:start-end], e.g. chr1 or chr1:0-189
                    where coordinates are half-open zero-based, i.e. [start,end)
   -noMask - convert sequence to all upper case
   -bpt=index.bpt - use bpt index instead of built in one
   -bed=input.bed - grab sequences specified by input.bed. Will exclude introns

Sequence and range may also be specified as part of the input
file name using the syntax:
      /path/input.2bit:name
   or
      /path/input.2bit:name
   or
      /path/input.2bit:name:start-end






#由bed文件的位置信息,来提取相应的序列信息
twoBitToFa -bed=xxxx.bed /leofs/noncode/reference/human/hg19/hg19.2bit out.fa    #其中,xxxx.bed为需要转换的文件,/leofs/noncode/reference/human/hg19/hg19.2bit为人类参考基因组hg19.2bit的存储路径,out.fa为输出的文件(可根据需要命名成xxx.fa)


0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有