Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paired-end Illumina RNA-seq adapter trimming fabrice Bioinformatics 8 01-05-2015 08:48 AM
Trimming illumina 1.8 reads ssharma Bioinformatics 7 07-18-2013 05:33 AM
trimming reads in tophat cswarth Bioinformatics 1 12-21-2010 03:00 PM
Periodical illumina read length distribution after trimming of low-quality bases luxmare General 4 12-20-2010 04:18 PM
How will trimming low-quality ends of Illumina reads affect TopHat and Cufflinks? ecabot RNA Sequencing 1 02-25-2010 09:31 AM

Thread Tools
Old 12-16-2011, 12:15 PM   #1
Location: EU

Join Date: Sep 2010
Posts: 52
Default trimming illumina reads


i have miseq reads of 150 * 2 paired end library. I wanted this to make it look like hiseq library 100bases. is there a way where i can keep only 100 bases in each read and trim the rest at the end to make it a 100 * 2 library?

Thank you
empyrean is offline   Reply With Quote
Old 12-19-2011, 07:10 AM   #2
Senior Member
Location: Kansas City

Join Date: Mar 2008
Posts: 197

looks like you'd want -l 100
mgogol is offline   Reply With Quote
Old 12-19-2011, 08:35 AM   #3
Peter (Biopython etc)
Location: Dundee, Scotland, UK

Join Date: Jul 2009
Posts: 1,543

maubp is offline   Reply With Quote
Old 12-19-2011, 08:45 AM   #4
--Site Admin--
Location: SF Bay Area, CA, USA

Join Date: Oct 2007
Posts: 1,358

Originally Posted by maubp View Post
At some point we are going to duplicate Biostar...I haven't thought about how to deal with that, but I think for now it's not "reported post" worthy...?
ECO is offline   Reply With Quote
Old 12-20-2011, 03:43 PM   #5

Join Date: Jun 2010
Posts: 81

or just use awk:
awk {print substr($1, 1, 100)} reads.fastq

if the ID is line is longer than your desired read length:
awk '{if(NR%4==1){print $1} else{print substr($1, 1, 20)}}' reads.fastq
volks is offline   Reply With Quote
Old 12-21-2011, 12:48 AM   #6
Senior Member
Location: berlin

Join Date: Feb 2010
Posts: 156

Blatant plug: Trimmomatic, you know it makes sense
tonybolger is offline   Reply With Quote

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 09:33 PM.

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