bwa的安装与使用_第1页
bwa的安装与使用_第2页
bwa的安装与使用_第3页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

bwa的安装与使用BWA安装流程安装本软体总共需要完成以下两个软体的安装工作 BWA SamtoolBWA安装下载BWA (download from BWA Source Forge ) bwa-0.5.7.tar.bz2 安装BWA# tar -jxvf bwa-0.5.7.tar.bz2编译BWA# makeSamtool安装下载Samtool (download from Samtool Source Forge )安装Samtool# tar -jxvf samtools-*.tar.bz2# makeBWA使用流程1.Index the database file in the FASTA format2.Find the suffix array (SA) coordinates of good hits of each individual read3.Convert SA coordinates to chromosomal coordinate and pair reads准备资料Reference genome data (*.fa)NGS Short reads data (*.fastq)建立Index根据reference genome data(eg reference.fa) 建立Index File# bwa index -a bwtsw reference.fa若是资料是colorspace 的话,就要建立colorspace 的index file#./bwa index -a bwtsw -c reference.fabwa index 指令更多的用法及options#./bwa index参数说明* -c :建立colorspace的index所需要的参数。寻找SA coordinates利用以下资料找SA coordinatesNGS short reads data (eg leftRead.fastq / rightRead.fastq)refernece genome data(eg reference.fa)# bwa aln reference.fa leftRead.fastq leftRead.sai# bwa aln reference.fa rightRead.fastq rightRead.sai若是资料是colorspace 的话,则必须先使用内附的solid2fastq.pl 档案先行转换reads,再产生SA coordinates ,指令如下#./bwa aln -c -f leftreads.sai reference.fa leftreads.fastq#./bwa aln -c -f rightreads.sai reference.fa rightreads.fastq若是希望使用multi threads 跑指令的话#./bwa aln -c -t 3 -f leftreads.sai reference.fa leftreads.fastqbwa aln 指令更多的用法及options#./bwa aln参数说明* -f file:file to write output to instead of stdout* -c:input sequences are in the color space* -t num :number of threads. (初始值:1)转换SA coordinates利用以下资料转换SA coordinates file 输出Sam file# bwa sampe reference.fa leftRead.sai rightRead.sai leftRead.fastq rightread.fastq human.samGenerate alignments in the SAM format given single-end reads#./bwa samse -f leftreads.sam reference.fa leftreads.sai leftreads.fastq#./bwa samse -f rightreads.sam reference.fa rightreads.sai rightreads.fastq让结果出现有multiple mapped 的相关内容#./bwa samse -n 10000 -f leftreads.sam reference.fa leftreads.sai leftreads.fastq更多bwa sampe 和bwa samse 的指令用法和相关的options#./bwa sampe#./bwa samse参数说明* -f fi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论