Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EmmaB
    Junior Member
    • Jun 2011
    • 7

    #1

    samtools tview

    I am having a problem with the tview option in samtools.

    I am using this command
    samtools tview 5673_5_t8.sortedbam.bam ./genomes/NC_013316.fna

    but keep getting this error -
    [bam_index_load] fail to load BAM index.

    I have previously used this exact command to view the file correctly, but now it wont work!!

    Is anyone else having similar problems? I have tried to index the sorted bam file, but this doesn't help either.

    Has anyone any suggestions?

    Cheers

    Emma
  • SOLiDance
    Member
    • Jun 2010
    • 27

    #2
    Maybe you should try re-index the bam file with the same ref? For example: samtools faidx ref.fasta, then use the .fai to get the sorted bam?
    I'm just a beginner,not sure about it~ Hope can help

    Comment

    • EmmaB
      Junior Member
      • Jun 2011
      • 7

      #3
      tview

      Hi,

      Thanks for your post. I tried indexing the BAM file and it didn't work.
      The problem seems to be temperamental, I just retyped my original command and tview worked, then I quit the programme retyped the exact same command and it did not work!

      very puzzling!

      Comment

      • fpepin
        Member
        • Feb 2011
        • 30

        #4
        samtools is complaining about not finding an index file in the same directory: 5673_5_t8.sortedbam.bam.bai. Is one there?

        If not, then you want to create one using:
        samtools index 5673_5_t8.sortedbam.bam

        I'm not sure why tview would succeed/fail on the same command, but hopefully the problem will be fixed if you create the index.

        Comment

        • EmmaB
          Junior Member
          • Jun 2011
          • 7

          #5
          tview

          Thanks for the replies.
          I started again from the original BAM files, sorted and indexed them.
          All seems to be fine now, so I think I must have been mistyping something!

          Oh to be a Unix newbie (NOT)!

          Cheer

          Emma

          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, Yesterday, 11:13 AM
          0 responses
          17 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:48 AM
          0 responses
          18 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...