Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Desiree Wilson
    Junior Member
    • Mar 2012
    • 9

    #1

    Help Creating a .vam.bai file

    I downloaded a sample .bam file from the 1000 genomes server. I tried to visualize the .bam file into IGV and received the following error message:
    Could not load index file for: <the .bam file path>. An index file is required for SAM & BAM files.
    So I figured I needed to make the .bam.bai file myself.

    I tried to create the index BAM file by typing the following line of code in R :
    indexBam(file="<path to the .bam file>")
    and received the error message:
    No such file or directory....failed to build index

    What am I doing wrong? Why can I not create this .bam.bai file?
  • Desiree Wilson
    Junior Member
    • Mar 2012
    • 9

    #2
    Can someone point me to the direction of some reference material that can help? I've read Rsamtools vignettes and they aren't very helpful.

    Comment

    • maubp
      Peter (Biopython etc)
      • Jul 2009
      • 1544

      #3
      Do you have samtools installed? R might be using that internally... But it might easier here to call samtools directly at the command line shell with:

      samtools index example.bam

      Comment

      • Desiree Wilson
        Junior Member
        • Mar 2012
        • 9

        #4
        Thank you so much. I will try this. Thank you, maubp.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2




          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
          Yesterday, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        29 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        71 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Working...