Hello,
I have found strange encoding in QUAL field in sam format file which I'm obtaining with command "samtools view file.bam Chr10:73-73 > tmp.sam"
unfortunately the forum edytor does not allow paste this strange encoded field but I have attached the file with example line. Please look at last thirty qualities.
As you see some part of bases quality are encoded properly.
when I'm decoding this with perl according to the site http://maq.sourceforge.net/fastq.shtml $Q = ord($q) - 33;
I'm able to decode only properly ASCI encoded qualities.
When trying decode qualities encoded with 'strange encoding' the result is '-3'
C 29
A 24
G 28
C 32
A 30
G -3
G -3
G -3
C -3
do you have any suggestion how to fix this problem?
Thak You,
tj
I have found strange encoding in QUAL field in sam format file which I'm obtaining with command "samtools view file.bam Chr10:73-73 > tmp.sam"
unfortunately the forum edytor does not allow paste this strange encoded field but I have attached the file with example line. Please look at last thirty qualities.
As you see some part of bases quality are encoded properly.
when I'm decoding this with perl according to the site http://maq.sourceforge.net/fastq.shtml $Q = ord($q) - 33;
I'm able to decode only properly ASCI encoded qualities.
When trying decode qualities encoded with 'strange encoding' the result is '-3'
C 29
A 24
G 28
C 32
A 30
G -3
G -3
G -3
C -3
do you have any suggestion how to fix this problem?
Thak You,
tj
Comment