Open ijhoskins opened 4 years ago
I note that I ran Bayeshammer on FASTQs where I had edited the quals at the termini of reads to be the same. It is possible the issue arises with this type of data, as I never encountered this same error when running on natural FASTQs.
For completeness, here are the FASTQ records before input to Bayeshammer:
@COOPER:281:H2HJ3BBXY:6:1101:1184:44377 RG:Z:CBS1_31_S10_L006_R
GCTTCAGTGGGCACGGGCGGCACCATCACNGGCATTGCCAGGAAGCTGAAGGAGAAGTGTCCTGGATGCACGATCATTNGGGTGNNTCCNGNAGGGTCCATCCTCGCAGAGCCCGAAGAGCTGANCCAGACGCAGCAGACAACCTAC
+
SSSSSSSSSSSSSSSSSSJFJJJFJ-FFJ#AFJJJ7-FJJF<JF<FFFJFJJJJ7<FJ7AJ<A7AJ--AF-A--A-77#A-7-7##FFF#F#J<<-77FF7AJ7J)AJFA)A<-7F)7--7--A#7<<7-7)SSSSSSSSSSSSSSS
@COOPER:281:H2HJ3BBXY:6:1101:1184:44377 RG:Z:CBS1_31_S10_L006_R
CCTCGCAGGTTGTCTNCTCCGNCTGGTTCAGNCCCTCNCCCTCNGCGAGGATGGACCCTTCGGGATCCACCCCAATGATCCTGCATCCAGGACACTCCCCCTCCACCCTCCTGGCAACCCCCGCCACAGCCCCCCCCGCCCC
+
SSSSSSSSSSSSSSSSSSSFA#A---<--F-#-7--7#7-7-F#7FA--77<--AFAF7-F-7-7<FFAJ--AAJ<-<-AA-----7A-7--77--77-AJ--7<-F--7A---7----7A7----7--7--A-)7A---AA
@andrewprzh this seems like a fatal error for users running Bayeshammer only. Can you reproduce? Let me know if I can provide any files.
I recently created an issue: https://github.com/ablab/spades/issues/413
That I closed because I thought the problem was tabs in the seqname. I didn't see the full error before and it turns out the issue is actually that the Bayeshammer FASTQs do not strictly have the same seqname before the sequence and the quals:
Note that the R2 sequence (second) does not have the same seqname repeated. This is in violation of the FASTQ spec: http://maq.sourceforge.net/fastq.shtml