This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bwa Aln And Samse Options

BWA has two options aln and samse. From the online help manual and the BWA paper it seems that the aln option performs the alignment of the reads to reference. What function, then, does samse (and sampe) perform if the alignment is already done by the aln option? Thanks, Anjan

bwa next-gen

1 answer

  • aln aligns the reads and produces a file *.sai of all the possible candidates.
  • samse works with the single ends, transforms the *.sai to *.sam "Repetitive hits will be randomly chosen. "
  • sampe works with the paired ends, takes the pairs of alignments , transforms the two *.sai to one *.sam, and select the best hits according the orientations, distance between the reads, etc... " Repetitive read pairs will be placed randomly. "

thank you Pierre

Log in to answer this question.