Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

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

    Comment


    • #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


      • #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


        • #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

          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM
          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          24 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          25 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          21 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          52 views
          0 likes
          Last Post seqadmin  
          Working...
          X