Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmiguel
    Senior Member
    • Aug 2008
    • 2328

    #1

    How to create GC% track for IGV?

    Anyone know a program or method to create a GC% track for IGV?

    I want to convert a bacterial genome sequence into a %GC track to compare depth of coverage with %GC. If there were some code to produce a (for example) wiggle format file from a genome sequence, I could easily display it. Seems like such a program, or at least a module, will already have been written, but I am not finding it.

    More details:

    I have a couple of Deinococcus radiodurans (~70% GC bacterial genome) TruSeq library data sets sequenced 100x2 PE and aligned to the reference sequence. The average coverage is around 100X, but it is variable and in places very low. I would like to see if the areas of low coverage correlate with the higher GC% areas.

    Here is an example window:


    Thanks,
    --
    Phillip
  • Dethecor
    Member
    • May 2010
    • 24

    #2
    Windowsize or binary?

    Hi Phillip,

    you should specify more what you want to see. %GC per position would be a track that just tells you for each position whether it is a G or C or not.
    But you probably want to compute the %GC in a window around each position or in a set of bins into which you partition your genome.

    Either can be achieved for example by using HTSeq to read in your genome, compute the binned or windowed gc-percentage and then write that to a wiggle file (which basically means just writing all the values into a plain text file one value per line and some header line telling the name of the track etc.)

    btw.: You might want to check out mappability also to see whether those regions are not mappable due to non-uniqueness of the reads originating there. (e.g. repetitive regions)

    Cheers,
    Paul

    "You are only young once, but you can stay immature indefinitely."

    Comment

    • pmiguel
      Senior Member
      • Aug 2008
      • 2328

      #3
      Hi Paul,
      Yes I did mean a windowed %GC.

      I will look at HTSeq. I am also interested in mappability. Will HTSeq produce a wiggle plot of that as well? This would be a plot of the number of repetitions of a given window of sequence (read length sized?) in the genome. It would have to allow a certain number of mismatches to usefully estimate the mappability of a given area.

      Thanks,
      Phillip

      Comment

      • Dethecor
        Member
        • May 2010
        • 24

        #4
        Mappability

        Hi Phillip,

        this can be done with HTSeq, but it requires some expertise in programming python (or some time to learn some python).

        For mappability I like to generate reads of the same length as my library based on the reference and then align them with the same tool used for the reads from my sample. This way the estimate of mappability best reflects what happened to the reads from the sample. (I usually don't give them qualities but if your aligner worked with a quality instead of a mismatch-count cut-off and you already determined the quality distribution of your reads, then simulating that could be helpful as well)

        Then you can check which reads could be mapped (uniquely, if you want to apply such restrictions) and directly get the mappability of each position based on whether or not the read originating there was mapped or not. Followed by some binning or sliding window approach you can get a nice estimate of the mappability.

        Cheers,
        Paul

        "You are only young once, but you can stay immature indefinitely."

        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
        29 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        22 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        39 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        45 views
        0 reactions
        Last Post SEQadmin2  
        Working...