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
                    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
                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    09-28-2026, 10:25 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 10-22-2026, 11:13 AM
                  0 responses
                  25 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  20 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  36 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  42 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...