Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Darwin
    Member
    • Oct 2008
    • 16

    #1

    Convert SAM to GFF

    Hi,

    Does anyone know of an easy way to convert files in the SAM format to GFF (or GFF3)?

    I do RNA-seq and have my output from tophat that I'd like to visualize on gbrowse (v1.7), which as far as I can tell does not support SAM. I know I could upgrade to Gbrowse2, haven't got the courage just yet..

    Any help is appreciated,
    Darwin
  • kmcarr
    Senior Member
    • May 2008
    • 1181

    #2
    Do not try to use GFF for Next Gen sequencing data. You will melt your cpu into a smoking pile of ash. O.K. not really; truth is you browser will time out before GBrowse ever returns.

    GBrowse 1.7 can use the Bio:B::SAM backend. See the poster at this link.

    But really, make the switch to GBrowse 2.0. It is now very easy to install; you install both BioPerl 1.6 and GBrowse 2 through CPAN. Configuring multiple data sources for a single browser makes life much easier.

    Comment

    • Darwin
      Member
      • Oct 2008
      • 16

      #3
      Thanks for the reply.

      I'm a bench biologist just getting my toes wet on the command line and so prefer to keep it as uncomplicated as possible. But I think you're right that there's a shiny new GBrowse in my future.

      Have you or anybody else installed GBrowse2 on OS 10.6 or would I need to set up a virtual ubuntu box? It took me *a while* to install GBrowse 1.7 on this system hence my hesitation to switch.

      Comment

      • kmcarr
        Senior Member
        • May 2008
        • 1181

        #4
        Originally posted by Darwin View Post
        Thanks for the reply. Have you or anybody else installed GBrowse2 on OS 10.6 or would I need to set up a virtual ubuntu box? It took me *a while* to install GBrowse 1.7 on this system hence my hesitation to switch.
        The more times you install BioPerl and GBrowse, the faster you get at it .

        I have installed GBrowse on my Mac which is running 10.5. When installing on a Mac the thing to remember is that the standard locations for the web browser document and cgi-bin directories are different from the standard Linux locations. You will need to know these locations when you are configuring GBrowse on your Mac.

        Also, if you are installing via the CPAN shell, make sure to set the shell to 'verbose', otherwise you will not see the configuration queries and it will appear that the install is stalled. This is true for both Mac and Linux.

        Comment

        • steven
          Senior Member
          • Aug 2009
          • 269

          #5
          If you are not limited to GBrowse, you may be interested in trying other browsers (IGV, IGB, CisGenome, etc). A lot of them load SAM/BAM files directly. You can find more info in this thread for instance.

          Comment

          • Darwin
            Member
            • Oct 2008
            • 16

            #6
            I would like to stay on GBrowse because is seems versatile (can host all sorts of genomic features) and that's where I have accumulated whatever experience that I now have.

            IGV does look fairly easy to setup so I'll keep that in mind.

            Thanks for your help guys!

            Comment

            • neXtGen seq
              Junior Member
              • Dec 2010
              • 2

              #7
              Sam to gff3

              Darwin. Have you found a way to convert sam files to gff3. if so please share

              i HAVE INCLUDED MY EMAIL INCASE YOU WANT TO SEND IT TO MY EMAIL [email protected]

              Comment

              • sagarutturkar
                Member
                • Sep 2010
                • 61

                #8
                SAM to GFF

                Have anybody figure out how to convert SAM to GFF? Please share.

                Comment

                • arvid
                  Senior Member
                  • Jul 2011
                  • 156

                  #9
                  GBrowse supports BAM nowadays, so I don't quite see the need... But it should be quite easy to write a converter (e.g. in Perl or Python), depending on which fields you wish to keep. A good exercise for learning a scripting language!
                  Otherwise you can convert the SAM to sorted BAM, use the BAM to BED converter in BEDTools, and convert BED to GFF in Galaxy...
                  Last edited by arvid; 01-30-2012, 12:14 AM.

                  Comment

                  Latest Articles

                  Collapse

                  • 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
                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    07-20-2026, 11:48 AM
                  • SEQadmin2
                    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                    by SEQadmin2



                    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                    ...
                    07-09-2026, 11:10 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, Yesterday, 10:13 AM
                  0 responses
                  14 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-31-2026, 02:55 AM
                  0 responses
                  27 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-24-2026, 12:17 PM
                  0 responses
                  20 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-23-2026, 11:41 AM
                  0 responses
                  19 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...