Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dolphin22
    Member
    • Jul 2012
    • 24

    #1

    Visualization of sam file to find introns

    Hey guys

    I have a .sam file from bowtie2 and I want to see if there is a high number of reads mapped on intronic sequences..
    What is the fastest solution? I planned to visualize the alignment in comparison to a gff file.
    But it seems to be very labourous. So, is there a tool that has a table as output where I can see how many reads are mapped to introns?
  • cascoamarillo
    Senior Member
    • Oct 2010
    • 164

    #2
    Hi,
    To visualize sam or bam file with gff, the best option is GBrowse.
    About how many reads are located in the introns; what is the gff file version (2 - 3?), something like this?:

    Code:
    ##gff-version 3
    scaffold_1	Gaze	gene	84	2328	93.4297	-	.	ID=GSADVG00000001001;Name=GSADVG00000001001
    scaffold_1	Gaze	mRNA	84	2328	93.4297	-	.	ID=GSADVT00000001001;Parent=GSADVG00000001001;Name=GSADVT00000001001
    scaffold_1	Gaze	UTR	84	409	1.6390	-	.	Parent=GSADVT00000001001;Name=GSADVT00000001001
    scaffold_1	Gaze	CDS	410	488	1.6374	-	2	Parent=GSADVT00000001001;Name=GSADVT00000001001
    scaffold_1	Gaze	CDS	552	686	13.9647	-	2	Parent=GSADVT00000001001;Name=GSADVT00000001001
    scaffold_1	Gaze	CDS	742	875	9.9687	-	0	Parent=GSADVT00000001001;Name=GSADVT00000001001
    scaffold_1	Gaze	CDS	939	1093	5.3854	-	1	Parent=GSADVT00000001001;Name=GSADVT00000001001
    In this case you can do this (maybe not the best): use HTSeq to count the reads mapped in the gene (gene-ID) and then use the same to count the exon reads (CDS-Parent); the difference would give you a approximation (take off the UTR reads too if you have it).

    I've tried different scripts (from different sources) to to show up the intron regions given a gff file like that; though the outputs weren't too good. If anyone knows a better one, please let us know.

    Comment

    • maubp
      Peter (Biopython etc)
      • Jul 2009
      • 1544

      #3
      You could try using Tablet for this (on Windows, Mac or Linux on your own computer). Load an assembly (SAM/BAM + reference) and then import the GFF file of features. The feature rendering is quite simple but enough to see intron/exon boundaries and compare them by eye to RNA Seq coverage.



      GBrowse is good but intended to run on a server, and is quite a lot of work to setup. It might still be a better choice - it depends what exactly you want to do.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2




        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
        Yesterday, 06:46 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-28-2026, 09:51 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      71 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...