Igv alignment showing question mark symbol (?) instead of the sequences(ATCG) in tracks

1,047 views
Skip to first unread message

Shreya Dey

unread,
Dec 13, 2021, 8:17:25 AM12/13/21
to igv-help
I have a reference genome (fasta file) and certain bam files which are mapped against the reference genome. While I load the bam files in igv, it does shows the position but the sequences are not visible, instead it shows a question mark. I have checked the cigar string it gives me correct details but visualisation in igv isn't working somehow. Has anyone encountered this issue earlier.

Image for reference attached. 

WhatsApp Image 2021-12-08 at 12.08.35 PM.jpeg

James Robinson

unread,
Dec 13, 2021, 3:50:49 PM12/13/21
to igv-help
That looks like an alignment, not the reference sequence.  This probably means the read sequence is not included in your bam record.   Its optional, read sequence is not required in "bam" files.

Shreya Dey

unread,
Dec 15, 2021, 4:47:45 AM12/15/21
to igv-help
Hey there,

Thanks for the heads up. I want to include the read sequences in the bam files for further processing. I'm using minimap2. Is there any way I can include them. I'm new to this, any help will be much appreciated :)

James Robinson

unread,
Dec 15, 2021, 11:47:45 AM12/15/21
to igv-...@googlegroups.com
First we should verify that's the problem.   If you right-click over the alignments a long menu will popup.  Near the bottom is an option to "Export Alignments".    This will export the alignments currently in view to a file.  Select this and save the file, zip it, and attach it here or email it to igvteam (at) broadinstitute.org and I will have a look.

Screen Shot 2021-12-15 at 8.45.11 AM.png

Robert King

unread,
May 20, 2022, 4:11:15 AM5/20/22
to igv-help
I have this same issue, what was the solution?

James Robinson

unread,
May 20, 2022, 11:05:28 AM5/20/22
to igv-...@googlegroups.com
Robert, I would ask you the same thing.  Could you export a sample of your alignments as instructed and send them to us?   I suspect the read sequence is not stored in your bam files.

--

---
You received this message because you are subscribed to a topic in the Google Groups "igv-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/igv-help/AsvavQFOmME/unsubscribe.
To unsubscribe from this group and all its topics, send an email to igv-help+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/483037f4-0895-4573-99fe-9387ffc98153n%40googlegroups.com.

robin...@gmail.com

unread,
May 20, 2022, 12:24:05 PM5/20/22
to igv-help
There is another thread on this topic,   I suspect the read sequence for the alignments in question is not stored in your BAM file.   It looks like minimap2 does not store read sequence for secondary alignments.   In any event, if the read sequence is not stored IGV cannot know it, and displays ?.    See https://github.com/lh3/minimap2/issues/4

If you don't think this is the case please post the alignment details here, which you can get my clicking on the alignment.   

Uljana Hesse

unread,
Sep 12, 2023, 7:13:19 AM9/12/23
to igv-help
It happens when the same read mapped at two locations
Reply all
Reply to author
Forward
0 new messages