sickle转录组数据过滤·使用案例

这篇博客介绍了如何在Linux环境下安装和运行sickle工具进行转录组数据过滤。由于conda安装的sickle可能存在问题,作者建议采用其他方式安装。sickle的参数设置和在Illumina 1.8+数据上的应用也进行了讨论。
部署运行你感兴趣的模型镜像

1. 安装sickle

conda install -c bioconda sickle
# failed

但是好像conda装的不能用,所以换个方法安装

wget  https://github.com/najoshi/sickle/archive/master.zip
unzip master.zip
cd sickle-master/
make
#在 .bashrc中 alias sickle='your path/sickel'
vi .bashrc

2. 运行sickle

sickle 的参数是这样的:

pe : use paired-end mode 
-f training/rnaseq/ERR022486_chr22_read1.fastq.gz : the fastq file for read 1 
-r training/rnaseq/ERR022486_chr22_read2.fastq.gz : the fastq file for read 2 
-t sanger : the quality encoding. All data downloaded from EBI or NCBI will be "sanger" encoded. For an explanation:<http://en.wikipedia.org/wiki/FASTQ_format#Encoding> 
-o ERR022486_chr22_read1_trim.fastq : the output file for trimmed reads from read 1 
-p ERR022486_chr22_read2_trim.fastq : the output file for trimmed reads from read 2 
-s ERR022486_chr22_single_trim.fastq : the output file for reads where the mate has failed the quality or length filter 
-q 30 : the quality value to use. Bases below this will be trimmed, using a sliding window 
-l 15 : the minimum length allowed after trimming. Here we remove reads with less than 15bp

运行代码:

~/installhere/sickle-master/sickle pe -f SRR11559267_1.fastq -r SRR11559267_2.fastq -t sanger -o trimmed_output_file1.fastq -p trimmed_output_file2.fastq -s other.fastq

展示结果

#展示结果
PE forward file: SRR11559267_1.fastq
PE reverse file: SRR11559267_2.fastq

Total input FastQ records: 222032 (111016 pairs)

FastQ paired records kept: 217534 (108767 pairs)
FastQ single records kept: 2248 (from PE1: 2237, from PE2: 11)
FastQ paired records discarded: 2 (1 pairs)
FastQ single records discarded: 2248 (from PE1: 11, from PE2: 2237)
$ls -tl
total 219128
-rw-rw-r-- 1 chenss chenss 52064560 Nov 25 21:19 trimmed_output_file2.fastq
-rw-rw-r-- 1 chenss chenss  1148435 Nov 25 21:19 other.fastq
-rw-rw-r-- 1 chenss chenss 54354638 Nov 25 21:19 trimmed_output_file1.fastq
-rw-rw-r-- 1 chenss chenss 57473850 Nov 24 19:25 SRR11559267_2.fastq
-rw-rw-r-- 1 chenss chenss 59332740 Nov 24 19:25 SRR11559267_1.fastq

为什么我的数据是illumina,此处是 -t sanger?
因为: After about 2012 (Illumina 1.8+) illumina uses sanger quality encoding

您可能感兴趣的与本文相关的镜像

Python3.8

Python3.8

Conda
Python

Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值