Entering edit mode
8.5 years ago
Max
▴
150
When creating .bam files from single-end read fastq's, I ran into difficulties with mutect because the .bam files didn't contain read groups. I attempted to recreate the .bams by rerunning bwa samse with the -R <readgroup> option, but I get an error stating that -R is an invalid option with samse (in contrast, it works with sampe). Is there an option and argument that I should use with bwa sampe to generate read groups?
Right, I think I was confusing the -R for read groups in bwa mem (-r is something else) with -r for reads in bwa sampe