Go Back   SEQanswers > Sequencing Technologies/Companies > Illumina/Solexa

Similar Threads
Thread Thread Starter Forum Replies Last Post
Introducing BBDuk: Adapter/Quality Trimming and Filtering Brian Bushnell Bioinformatics 347 10-14-2021 02:02 AM
BBDuk primer trimming on MiSeq 16S data_primers with deletion errors not trimmed PeatMaster Illumina/Solexa 1 04-15-2016 10:49 AM
BBDuk2 not trimming whole file ea11 Bioinformatics 29 11-10-2015 11:52 AM
bbduk and kmer masking cmccabe Bioinformatics 2 10-30-2015 11:16 AM
Filtering out Illumina primer sequence kevpar General 1 05-09-2011 08:45 AM

Thread Tools
Old 10-07-2016, 06:33 AM   #1
Junior Member
Location: Sweden

Join Date: Jun 2016
Posts: 4
Default Primer filtering with bbduk /


I have merged Illumina reads and try to filter out all reads that have both, a recognisable fwrd and a recognisable reverse primer and then to trimm those primers.

And I'd like to do this in as few commands as possible.

So far I am using the following code for filtering. Note that if I specify a restrictleft & restrictleft argument no primers are found for some reason

Code: in=16S_analysis/XXX.fna \
                        minkmerhits=2 \
			k=17 \
			copyundefined \
			rcomp=t \
			hammingdistance=1 \
			outm='16S_analysis/with_Primer.fasta' \
			out='16S_analysis/no_F_Primer.fasta' \
                        overwrite=true \
I can now take this file a search for the foward primer, trimm with lliteral and then do it for the reverse primer. But this is not ideal. Can it be done in one step?


Latrunculia is offline   Reply With Quote

bbduk, bbduk2, illumina, trimming

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 05:40 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO