Hi,
I want to extract a consensus sequence from an aligned BAM file, which was generated by aligning Ion Torrent reads to a reference. The reference sequence was a close, but not exact, match to my sample. Working solely on the Galaxy public web interface, I used pileup with 10 column format with plans to subsequently cut out column 4 (alignment consensus) for further analysis. However, when I inspect the pileup output, I noticed that the alignment consensus is identical to the reference sequence, even though the aligned reads have a different base at certain positions. I'm new to NGS analysis so hopefully this is an obvious easy fix to someone more familiar than me. Below is an example of my pileup output. Note positions 38, 40, and 43, which should be A, T, and A right? Not G, A, and G? Also, certain positions (i.e. 41) seem to have duplicate lines. Is that normal? Thanks!
Milocera_horaria_REF 37 A A 212 0 60 8019 ...............................
Milocera_horaria_REF 38 G G 48 0 60 8019 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Milocera_horaria_REF 39 T T 39 0 60 8019 ...............................
Milocera_horaria_REF
Milocera_horaria_REF 40 A A 39 0 60 8019 TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
Milocera_horaria_REF 41 G G 184 0 60 8019 ...............................
Milocera_horaria_REF 41 G G 184 0 60 8019 ...............................
Milocera_horaria_REF
Milocera_horaria_REF 42 G G 114 0 60 8019 ...............................
Milocera_horaria_REF
Milocera_horaria_REF 43 G G 102 0 60 8019 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Milocera_horaria_REF
Milocera_horaria_REF 44 A A 255 0 60 8019 ...............................
Milocera_horaria_REF
Milocera_horaria_REF 45 C C 255 0 60 8019 ...............................