Input format: fastq-solexa
FASTQ files are a bit like FASTA files but also include sequencing qualities. In Biopython, 'fastq' refers to Sanger style FASTQ files which encode PHRED qualities using an ASCII offset of 33. See also the incompatible 'fastq-solexa' and 'fastq-illumina' variants.
Output format: qual
Qual files are a bit like FASTA files but instead of the sequence, record space separated integer sequencing values as PHRED quality scores. A matched pair of FASTA and QUAL files are often used as an alternative to a single FASTQ file.
How to convert from fastq-solexa to qual ?
You can also convert between these formats by using command line tools.
On Windows install WSL, on
Mac
or Linux start
terminal
Install BioPython
Run following script:
Or you can use this site as online fastq-solexa to qual converter by selecting your formats &
file.
Sequence Converter Home page
from Bio import SeqIO
records = SeqIO.parse("THIS_IS_YOUR_INPUT_FILE.fastq-solexa", "fastq-solexa")
count = SeqIO.write(records, "THIS_IS_YOUR_OUTPUT_FILE.qual", "qual")
print("Converted %i records" % count)