I have just started working on NGS few weeks back and I was trying to get the pipeline for SOLiD right.
From what I understand the basic pipeline goes something like this (please do correct me if I'm wrong):
get xsq files -> convert them to *.csfasta or *.qual files (using xsq tools) -> check for quality control (by converting *.csfasta and *.qual files to *.fastq files) -> mapping (obtain *.sam files) -> convert them to *.bam (and sort it) -> check for duplicates -> detect variants -> annotate variants
I have the files in *.csfasta and *.qual format with me now. While trying to assess the quality of the reads, I realized that not many tools use *.csfasta and *.qual files as input. I read some place else that, we can convert these files to *.fastq format and use 'fastx tools' to check for quality of the reads. One such tool was 'bfast' and it also maps the reads to reference genome.
Using solid2fastq in bfast when I did the conversion, I think the output I received was wrong. I can tell because the output_file.fastq file looked something like this:
@12869
T..................................................
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@12895
T..................................................
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I used the following command to generate the output:
scripts user$ solid2fastq -o output_file sample.csfasta sample.qual
I'm not sure where I'm making the mistake.
And also I wanted to know if converting *.csfasta files to *.fastq files is the right thing to do? Wouldn't you lose the quality? Is there any tool which takes in the native *.csfasta files and computes quality of the reads and also mapping instead?
I'm still an amateur in python. The module looks interesting though. Thanks for the help!