# need bam file for pilon

I just ran an assembly on yeast genomes using Flye and I want to polish those assemblies with Pilon but it requires a sorted BAM file.

How do I make a BAM file of the resulting assembled.fasta?

• What reads do you have? Only long read or short read or whatever? You need to align the starting reads to your assembly and then supply that bam, as implied by the user172818 answer. Sep 19 at 22:54

bwa index assembled.fasta