![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
For MAQ: Is there a Tool to convert sanger-format fastq file to illumina-fotmat fastq | byb121 | Bioinformatics | 6 | 12-20-2013 02:26 AM |
How to use the Bioperl to parse the parse flat file of UniProtKB database? | bewlib | Bioinformatics | 1 | 11-29-2012 05:30 PM |
fastest way to 'parse' fasta or fastq? | HenrivdGeest | Bioinformatics | 5 | 07-09-2012 01:20 PM |
Can Biopython parse fastq file? | ardmore | Bioinformatics | 2 | 11-29-2011 03:43 PM |
Reduce file size after Illumina FASTQ to Sanger FASTQ conversion? | jjw14 | Illumina/Solexa | 2 | 06-01-2010 05:35 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Germany Join Date: Nov 2012
Posts: 22
|
![]()
I am new in NGS. I need to format some fastq files. For example I want to replace characters /1 and /2 with -1 and - 2 in the files having data like @HWUSI-EAS1671_0001:5:1:1022:10290/1.
I tried to do it in perl with pattern matching but the files are too big to parse. Could anyone please give me suggestion on share any code? |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: East Coast USA Join Date: Feb 2008
Posts: 7,080
|
![]()
Have you considered using "awk"?
|
![]() |
![]() |
![]() |
#3 |
Member
Location: Germany Join Date: Nov 2012
Posts: 22
|
![]()
Thanks!
I searched for "awk" and realize "sed" can do it easily ![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Location: Stockholm, Sweden Join Date: Feb 2008
Posts: 319
|
![]()
The files are surely not too big to parse with perl (for your purposes) if you do it right - you only need to have four lines at a time (or maybe just one) in memory. Also it might be a good opportunity to learn some BioPerl :-)
|
![]() |
![]() |
![]() |
Tags |
bioinfomatics, fastq, next gen sequencing, rna seq |
Thread Tools | |
|
|