Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • efoss
    Member
    • Jul 2011
    • 98

    #1

    Can GSNAP generate SAM/BAM files?

    I am running gsnap with this command:

    gsnap --gunzip -d Drosophila5 -D /home/efoss/gene_databases/GMAP_GSNAP_db/ D09NJACXX_s8_1_illumina12index_8_SL7777.fastq.gz D09NJACXX_s8_2_illumina12index_8_SL7777.fastq.gz > D09NJACXX_s8_illumina12index_8_SL7777.sam

    The output clearly is not in standard sam format. Is it possible to generate standard sam/bam files with gsnap, and if so, how?

    Thank you.

    Eric
  • cedance
    Senior Member
    • Feb 2011
    • 108

    #2
    Are specific columns missing? or certain columns are 0? what's the problem you see?

    Comment

    • efoss
      Member
      • Jul 2011
      • 98

      #3
      Hi cedance,

      I see output like this:


      >CNAANATATATTGCACCATCCGCCGATCCGCAGGCAATTTTTAGGCCATT 0 unpaired <#0<#28899;<>><<?=<?>?@<==49=?;===?>1:;9:>>??;>??< HWI-ST156:39709NJACXX:8:1101:1790:1988

      <ATCACAAACGAACACTTTAAAATCAGCTGTGATTTTGCTCGGGCTTCCTT 0 unpaired F?@@DFDDDDF;1C;BBDAEGCBFHJI<CGEIJEIEBF?D)6D@?FDHB= HWI-ST156:39709NJACXX:8:1101:1790:1988

      >TNGANCTGGACCAGGTAATGGGATATACTGTTGTCCGGCGCCTGTTCAGC 0 unpaired 3#0:#2288>>?@@<@=??=<7:>9>>9@?@??>>9=88=?8?<1=???? HWI-ST156:39709NJACXX:8:1101:1980:1992

      <AAAAACACTCACACCAAACATCAGCAGGATGCTGCAGCCCCCGGATGAGA 0 unpaired F<@<D+ADDDFF3??EDG?:CF?F<@;F811899?@C<@FG>AA'B;==E HWI-ST156:39709NJACXX:8:1101:1980:1992

      >CTGANACTCGGGATCTGCACGGCGATAGCGGGCACCCAGGCTGGAGATGA 0 unpaired @?@F#2=BCDAA?FHIGCHIGIIIBEEGEHGGBACHEDFBCCCBABC>>> HWI-ST156:39709NJACXX:8:1101:1775:1997

      This doesn't match the mandatory fields for a sam file:



      Thank you for the help.

      Eric

      Comment

      • cedance
        Senior Member
        • Feb 2011
        • 108

        #4
        I remember vaguely but there is a --format=sam parameter to specifically output the results in SAM format. You should check out the parameter list and add it to your command line options accordingly.

        Comment

        • efoss
          Member
          • Jul 2011
          • 98

          #5
          Originally posted by cedance View Post
          I remember vaguely but there is a --format=sam parameter to specifically output the results in SAM format. You should check out the parameter list and add it to your command line options accordingly.
          Thanks so much, cedance. I see that that is one of my critical mistakes. I thought I had read through the options carefully, but I guess I hadn't read them carefully enough. I very much appreciate the help.

          Best wishes,

          Eric

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            How Immunogenomics Decodes Immunity’s Genetic Blueprint
            by SEQadmin2




            The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

            This convergence of genetics, immunology, and computation...
            Today, 05:41 AM
          • SEQadmin2
            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
            by SEQadmin2



            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

            Despite this, “CRISPR helped turn genome editing from a specialized technique into
            ...
            07-31-2026, 11:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 08-24-2026, 10:32 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-20-2026, 11:17 AM
          0 responses
          48 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-18-2026, 10:05 AM
          0 responses
          55 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-13-2026, 12:22 PM
          0 responses
          50 views
          0 reactions
          Last Post SEQadmin2  
          Working...