linux – BWA Alignment in Linnux command line

I am trying to align a sequence using the BWA tool. The idea is to obtain a sam file with the alignment. I used the reference genome of S.cerevisiae downloaded in a fasta file. First I indexed the file.

bwa index S.cerevisiae.fasta

After that I proceed to align the reference genome with a sequence, in this case seq00, to obtain an output aln-se.sam file.

bwa mem S.cerevisiae.fasta seq00 > aln-se.sam

The problem here is that when opening the sam file, in the chromosome column of the sam file, there is no chromosome number, but the accession number of the NCBI for that chromosome.

H.Sapiens.1M.Illumina.l100.low.000000000        16      NC_001147.6     522812  0       24S31M53S       *       0       0       ATGGAGAAAACCCGTCGTCTACTAAAAAAAAAAAAAAAAAAAAA

As it can be seen here,
Is there any way to fix this issue and obtain a sam file with all the proper information?

Thank you <3

Read more here: Source link