I have seqtk installed. Would this work to trim the last 100 bases?
./seqtk trimfq -e 100 file.fastq.gz > file.trimmed.fastq
You're saying to process both reads simultaneously ... but how can I do that in seqtk?
I have used the above command on both R1 and R2 .fastq files seperately. BWA-mem now finishes successfully. However GATK is now ending with an error:
ERROR MESSAGE: SAM/BAM file SAMFileReader{file_sorted.bam} is malformed: the BAM file has a read with no stored bases (i.e. it uses '*') which is not supported in the GATK; see the --filter_bases_not_stored argument. Offender: M01441:126:000000000-ADL98:1:2104:23734:22483