![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SRA to fastq conversion with fastq-dump loses sequences | pcantalupo | Bioinformatics | 13 | 10-08-2015 05:09 PM |
.abi to fasta/fastq conversion script/program? | AppleInformatics | General | 12 | 08-26-2012 11:17 PM |
csfasta --> fasta conversion | doxologist | SOLiD | 35 | 05-15-2012 10:27 AM |
Reduce file size after Illumina FASTQ to Sanger FASTQ conversion? | jjw14 | Illumina/Solexa | 2 | 06-01-2010 05:35 PM |
Fasta to Ace conversion | Farhat | Bioinformatics | 19 | 05-15-2010 07:08 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: Earth Join Date: Jun 2010
Posts: 7
|
![]()
How can I convert my fastq files to two fasta files with one containing the reads and another containing the quality scores?
Thanks ![]() |
![]() |
![]() |
![]() |
#2 |
Member
Location: Europe Join Date: Apr 2010
Posts: 46
|
![]()
You could use awk to create a simple fasta file from your fastq, e.g.
awk 'NR % 4 == 1 {print ">" $0 } NR % 4 == 2 {print $0}' my.fastq > my.fasta However, I don't think it makes any sense to create a fasta file "containing the quality scores". Fasta files are used to represent sequences. |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Location: Berlin, DE Join Date: May 2008
Posts: 628
|
![]() Quote:
mySeq.fasta : >mySeq ACGTACGT mySeq.fasta.qual: >mySeq 22 22 33 33 22 22 33 44 There are still some programs which need to be fed with fasta/qual :-) Anyway, qualities need to be converted to phred-stye .. |
|
![]() |
![]() |
![]() |
#4 |
Member
Location: Europe Join Date: Apr 2010
Posts: 46
|
![]()
Thanks sklages! I wasn't aware of qual files.
kwtennis311, there seem to be some existing posts on this, you might find answers in this, e.g. http://seqanswers.com/forums/showthread.php?t=3730. |
![]() |
![]() |
![]() |
#5 |
Junior Member
Location: Earth Join Date: Jun 2010
Posts: 7
|
![]()
thanks guys, Biopython did the trick
|
![]() |
![]() |
![]() |
Tags |
fastq fasta reads |
Thread Tools | |
|
|