Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • eperry
    Junior Member
    • Jan 2009
    • 3

    GSNAP output to IGV

    I aligned Illumina reads to the zebrafish v9 reference genome using GSNAP. I had to build a new genome database in GSNAP/GMAP from individual fastA files containing each of the 25 chromosomes. After running GSNAP, I used Samtools to convert the .sam output into a .bam, then sorted the .bam and generated an index file .bai. I want to visualize the alignment using IGV, but I am unsure where to find the correctly-formatted reference file. When I try the fasta files for each chromosome that I used to build the genome database in GSNAP, I receive an error in IGV, saying "sequence.bam does not contain any sequence names which match the current genome". Is the correct genome file found somewhere in the genome database that GSNAP built?
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    I encounter that error a lot. Sometimes it's due to sequences with names containing whitespace, which some programs will truncate and others won't. Look at the header of the sam file and the names in the fasta file and make sure they match.

    I recommend that you first concatenate all of the fasta files into a single fasta file, and use that to build an index for mapping, and as input for IGV.

    Comment

    • TiborNagy
      Senior Member
      • Mar 2010
      • 329

      #3
      samtools view -h will print the header of your BAM file. Infoseq from emboss or grep "^>" will print out the header of the reference file. You can see how to modify your reference file to fit to your BAM file.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        New Genomics Tools and Methods Shared at AGBT 2025
        by seqadmin


        This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

        The Headliner
        The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
        03-03-2025, 01:39 PM
      • seqadmin
        Investigating the Gut Microbiome Through Diet and Spatial Biology
        by seqadmin




        The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
        02-24-2025, 06:31 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 03-20-2025, 05:03 AM
      0 responses
      17 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-19-2025, 07:27 AM
      0 responses
      19 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-18-2025, 12:50 PM
      0 responses
      19 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-03-2025, 01:15 PM
      0 responses
      186 views
      0 reactions
      Last Post seqadmin  
      Working...