Thanks !
The thing here is that I want a final .bam file for working with freebayes. Reading the freebayes manual it seems like I need a unique .bam file. Shall I merge the .sam files resulting from bwa, create a .bam file and then work with it on freebayes?
Does it make sense?