Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pennaki
    Junior Member
    • Dec 2012
    • 8

    #1

    Illumina Miseq bam file

    Hi all!

    I'm a newbie in NGS, trying to write a thesis on BRCA mutations on breast cancer, not a biologist, so please excuse my ignorance!

    I got one .bam file, of a sample sequenced by Miseq of Illumina and even after indexing it using samtools I see no alignment in IGV. When I used tview in samtools, a string of N's appeared and no bases, nowhere.

    Do I need something more than this bam file?

    Thank u!
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    You need the reference it was aligned to, and that needs an index. samtools faidx can make that. In fact, remaking the reference faidx is a quick and easy troubleshooting step that you should always do if you think there might be a problem with your reference being properly recognized. It only takes a second to do, but a lot of software will take for granted that if a file of the right name exists, that it is the correct file, and not flawed. And when that's not the case, that software will behave poorly, without hinting at why.

    Comment

    • BAMseek
      Senior Member
      • Apr 2011
      • 124

      #3
      Try looking at the first few lines of the bam file

      samtools view input.bam | less -S
      The 3rd and 4th columns are the chromosome and position. Pick one of those locations and go to it in IGV to see if you can find that read. Maybe run samtools flagstat to quickly see how many reads and alignments are in that BAM file.

      Comment

      • Pennaki
        Junior Member
        • Dec 2012
        • 8

        #4
        Thank u both for answering!

        @BAMseek: I tried to read the file but all I got was blank with an "END". :/

        @swbarnes2: I have only this bam file and 2 other fastg.gz files, which I was given after the sequencing from the instrument. Do I have to download a human genome reference?
        I tried to view another example bam file and it worked perfectly on IGV and on samtools when I tview-ed it!

        P.

        Comment

        • BAMseek
          Senior Member
          • Apr 2011
          • 124

          #5
          @BAMseek: I tried to read the file but all I got was blank with an "END". :/
          That's not good. What is the size of your BAM file? Also, try "samtools view -h <input.bam>" (the -h flag will also print out header information). Getting nothing might because the file is blank (or only has header information).

          Comment

          • Pennaki
            Junior Member
            • Dec 2012
            • 8

            #6
            Originally posted by BAMseek View Post
            That's not good. What is the size of your BAM file? Also, try "samtools view -h <input.bam>" (the -h flag will also print out header information). Getting nothing might because the file is blank (or only has header information).
            It's 237 MB. I tried samtools view -h <input.bam> and I get a zillion lines of bases, it's not empty!
            Last edited by Pennaki; 03-29-2013, 03:02 PM.

            Comment

            • BAMseek
              Senior Member
              • Apr 2011
              • 124

              #7
              Hmm, it's odd that samtools view gives you nothing but samtools view -h gives you lots of lines. So can you take one of those positions, and go to it in IGV? Also, what are the results of samtools flagstat <in.bam> ?

              Comment

              • Pennaki
                Junior Member
                • Dec 2012
                • 8

                #8
                Originally posted by BAMseek View Post
                Hmm, it's odd that samtools view gives you nothing but samtools view -h gives you lots of lines. So can you take one of those positions, and go to it in IGV? Also, what are the results of samtools flagstat <in.bam> ?
                I get this:

                2033746 + 0 in total (QC-passed reads + QC-failed reads)
                0 + 0 duplicates
                1997349 + 0 mapped (98.21%:nan%)
                2033746 + 0 paired in sequencing
                1016873 + 0 read1
                1016873 + 0 read2
                1894442 + 0 properly paired (93.15%:nan%)
                1985672 + 0 with itself and mate mapped
                11677 + 0 singletons (0.57%:nan%)
                0 + 0 with mate mapped to a different chr
                0 + 0 with mate mapped to a different chr (mapQ>=5)

                As I can see, it's chr13 and when I take it to IGV, i zoom and nothing!

                Comment

                Latest Articles

                Collapse

                • SEQadmin2
                  Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                  by SEQadmin2



                  Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                  Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                  ...
                  10-14-2026, 09:55 AM
                • SEQadmin2
                  New Genomics Technologies Take Aim at Long-Standing Limits
                  by SEQadmin2


                  Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                  We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                  ...
                  09-28-2026, 10:25 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 10-22-2026, 11:13 AM
                0 responses
                23 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-22-2026, 10:48 AM
                0 responses
                20 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-15-2026, 10:52 AM
                0 responses
                36 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                42 views
                0 reactions
                Last Post SEQadmin2  
                Working...