Unconfigured Ad

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

    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
          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
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM
        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Working...