I'm trying to give the user of my program the option to run bwa aln or bwa bwasw.
But from reading the documentation I don't understand what the output from running bwasw is.
Would it give me the same output file format as running bwa aln and then bwa samse?
That's ideally what I'd like so that the rest of the pipeline can run without modification.
Update:
I found this cached version of the documentation. It shows this usage example:
bwa index -a bwtsw database.fasta
bwa aln database.fasta short_read.fastq > aln_sa.sai
bwa samse database.fasta aln_sa.sai short_read.fastq > aln.sam
bwa sampe database.fasta aln_sa1.sai aln_sa2.sai read1.fq read2.fq > aln.sam
bwa bwasw database.fasta long_read.fastq > aln.sam
So it looks like the output of bwa bwasw is the sam format, the same as running aln and then samse.
With the time you wrote the question, probably you could get the results by running bwasw. You would know better.