![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
bwa color space error | rcorbett | Bioinformatics | 6 | 06-24-2011 04:21 AM |
Converting nucleotide-space to color-space | javijevi | Bioinformatics | 7 | 11-29-2010 03:14 AM |
Solid formats translator(base space/color space/double encoded) | AronaldJ | SOLiD | 0 | 10-26-2010 01:10 AM |
sequence error detection in color space reads | holywoool | SOLiD | 0 | 10-11-2010 01:34 AM |
direct mapping of color-space data against color-space | begsch | SOLiD | 1 | 09-09-2009 10:25 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: Cambridge, Massachusetts Join Date: Oct 2010
Posts: 8
|
![]()
The Genome Analysis Toolkit 'CountCovariates' portion of the base quality recalibration tool utilizes platform information, and in the case of color space data, reads the colorspace (CS) tag when working with SOLiD data. From an alignment generated with Bfast, I am getting an error using GATK:
'Unrecognized color space in SOLID read, color = . Unfortunately this bam file can not be recalibrated without full color space information because of potential reference bias.' As far as I can tell, this occurs because for GATK, only 0,1,2 and 3 are allowable states, but Bfast also includes, '.' An example SOLiD tag from Bfast: 'CS:Z:T033.0330033003300123.22122221212102233223313322131' And...from the GATK source: ' private static byte getNextBaseFromColor( SAMRecord read, final byte prevBase, final byte color ) { switch(color) { case '0': return prevBase; case '1': return performColorOne( prevBase ); case '2': return performColorTwo( prevBase ); case '3': return performColorThree( prevBase ); default: throw new UserException.MalformedBam(read, "Unrecognized color space in SOLID read, color = " + (char)color + " Unfortunately this bam file can not be recalibrated without full color space information because of potential reference bias.");' Does anyone have a workaround for this problem? Thanks, Adam
__________________
Adam H. Freedman Dept. of OEB, Harvard University |
![]() |
![]() |
![]() |
#2 | |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Member
Location: Spain Join Date: Jul 2010
Posts: 68
|
![]()
Dear all, sorry for reactivating this thread after a while, but I thought this fits in here:
In my experiment, some colorspace sequences turned out to contain "4" after aligning them with bfast: in the fastq file (generated by the bfast solid2fastq script), one example looks like this (obviously bad quality read, but please read on): Code:
@1386_370_11 T21......3....02...302012002031112020320.3212..01.. + 16!!!!!!8!!!!1?!!!;=>&'&3.2%(:>3%'6>-&%!1&&)!!,&!! - bfast bwaaln - bfast localalign - bfast postprocess and the same read in the .sam output (excerpt, columns 1, 17 and 18) looks as follows: Code:
1386_370_11 CS:Z:T21444444344440244430201200203111202032043212440144 CQ:Z:16!!!!!!8!!!!1?!!!;=>&'&3.2%(:>3%'6>-&%!1&&)!!,&!! In any case it causes trouble when trying to run the Covariates Recalibration tool from GATK which legitimately complains about the "non-base characters" in the sequence: Code:
java -jar /soft/bio/sequence/GenomeAnalysisTK-1.0.5506/GenomeAnalysisTK.jar -T CountCovariates ##### ERROR MESSAGE: SAM/BAM file SAMFileReader{/home/sderdak/temp/BM3062_nodup_realigner_csadjusted_readgroups.bam} is malformed: Unrecognized color space in SOLID read, color = 4 Unfortunately this bam file can not be recalibrated without full color space information because of potential reference bias. |
![]() |
![]() |
![]() |
#4 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]()
All dots in the input will be converted to 4s in the output. 4s are ambiguous colors, like Ns are ambiguous bases.
|
![]() |
![]() |
![]() |
#5 |
Member
Location: Spain Join Date: Jul 2010
Posts: 68
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Location: Maryland Join Date: Apr 2010
Posts: 31
|
![]() |
![]() |
![]() |
![]() |
Tags |
bfast, countcovariates, gatk |
Thread Tools | |
|
|