RichieJu520的个人博客分享 http://blog.sciencenet.cn/u/RichieJu520

博文

Bowtie2 做 Mapping 及抽取原始 paired-end 序列

已有 17289 次阅读 2014-3-21 20:03 |个人分类:序列处理|系统分类:科研笔记

1.下载及安装 bowtie2;

   http://bowtie-bio.sourceforge.net/bowtie2/index.shtml 


2.格化式数据库(如contig序列文件);

bowtie2-build contigs.fa assembly.bowtie


3.Map 原始序列至 contigs,结果输出为 SAM format;

(1)Paired-end reads

bowtie2 -x assembly.bowtie -1 Raw-reads-1.fq -2 Raw-reads-2.fq -S mapping.sam -p 10

(2)Single-end reads

bowtie2 -x assembly.bowtie -U reads.fastq -S mapping.sam


4.使用perl脚本抽取contig对应原始序列;

perl extract.fasta.from.sam.using.list.pl -l list.of.scaffolds.txt -s mapping.sam -o reads.subset.fa


5.使用perl脚本抽取contig对应paired-end 序列

perl extract.fasta.pe.reads.using.single.pl -s reads.subset.fa -p all.paired.reads.fa -splitheader "/"


perl脚本下载地址:

http://madsalbertsen.github.io/multi-metagenome/docs/step3.html









https://blog.sciencenet.cn/blog-695360-778052.html

上一篇:基于blast结果从Database中抽取注释和参考序列
下一篇:一种利用 Python 异常 (Exception) 判断快速检验成员资格的方法
收藏 IP: 147.8.88.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-11 18:52

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部