Brian,
I am impressed with BBmap. While repairing with
repair.sh in=broken.fq out=fixed.fq outs=singletons.fq repair
I got a message:
The ASCII quality encoding offset (64) is not set correctly, or the reads are corrupt; quality value below -5.
Please re-run with the flag 'qin=33' or 'ignorebadquality'.
Problematic read number 24:
@SRR3970376.49 49 length=20
CCACCGGGGGGCCATGCCGT
+SRR3970376.49 49 length=20
@@@@@@@@@@@@@@@@@T@\
So I ran with qin=33 and piped to fastqc. The scores are now calibrated to under 40, which is reasonable.
I also learned the following with BBmap:
Input: 1653053 reads 85461620 bases.
Result: 1635944 reads (98.97%) 85136549 bases (99.62%)
Pairs: 0 reads (0.00%) 0 bases (0.00%)
Singletons: 1635944 reads (98.97%) 85136549 bases (99.62%)
Time: 0.937 seconds.
Reads Processed: 1653k 1764.41k reads/sec
Bases Processed: 85461k 91.22m bases/sec
which basically tells me that the file has been improperly merged or formatted, and is a single read file. I suppose the command:
./fastq-dump --split-files SRR3970376.sra
split the files into 2 files regardless of whether the file was paired end encoded