Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • vanbug
    Member
    • Aug 2011
    • 11

    chip-seq read extension (36bp->200bp)

    Hola!

    I was wandering if there's any command line tools (bedtools, samtools) other than R packages, to extend the reads from the base length b/w 36-50 bp to 200bp strand specific. I dont want to use R, as I have to load the file in the environment which is time consuming, I can make awk script easily, but there might be something present already. I want to do it because if I generate a coverage(bedGraph file) directly collapsing the bam file, I get small continuous mountains, which are more or less the referring to single gene target. (Look at the attached picture)

    Also, another question is, does the chip-seq data should be normalized (same number of reads in control and sample) before calling peaks in Macs. For me, the mockIP control always less than 2/3rd the number of reads of control. I did a test, the number of positive peaks went down by 30-40% and -ve peaks came up by 30% after using Macs on normalized data.

    Thanks
    Sukhi
    Attached Files
  • ETHANol
    Senior Member
    • Feb 2010
    • 308

    #2
    Most genome browsers don't like it when your reads extend beyond the end of chromosomes which will get a lot more of when you extend your reads. See:
    I’ve been spending my down time this last week looking into ways to streamline my data processing. Basically that has meant learning how to write scripts. This is a little script I just wrote that …

    The second script does exactly what you are asking for.
    --------------
    Ethan

    Comment

    • vanbug
      Member
      • Aug 2011
      • 11

      #3
      Thanks for the reply.
      There is ucsc tool called bedclip which sorts the read off-end of chromosome problem.

      I was tried using your script but I am getting "Unrecognized character \xE2" problems while executing it, I checked it and I think its because of utf encoding problems. Would providing a download link for the original source file, solve the problem!!.

      Also, in this script do reconstruct the bed file after extension because the some reads in coverage will overlap. I am working with bedGraphs not bed. What do you think.

      Eg:
      Chr1 40 50 4
      Chr2 110 150 3


      After adding 150 to both co-ordinates, the reads will overlap and should be summed up (4th column-density), if I am not wrong.

      Thanks

      Comment

      • ETHANol
        Senior Member
        • Feb 2010
        • 308

        #4
        I was looking all over for a script that did what bedclip did. Thanks for the heads up. Anyway, it was a good motivation to learn some Perl.

        It seems hosting code on wordpress.com is not trivial. I uploaded the file here:
        ethanomics files. Full list of files for ethanomics, Random NGS scripts
        --------------
        Ethan

        Comment

        • ETHANol
          Senior Member
          • Feb 2010
          • 308

          #5
          It appears there is a UCSC utility that does what you are looking for as well called bedExtendRanges.
          --------------
          Ethan

          Comment

          • vanbug
            Member
            • Aug 2011
            • 11

            #6
            Sorted

            Hey,

            Your perl script works fine for me , but the chromosome off-end clipping seems not to be the perfect one, but bedclip works fine as well.
            I tried using bedExtendRanges but needs some database configuration, so dropped it.
            So, I am currently using your script which extends the reads directionally, then bedClip to clip the off-end chromosome co-ordinates and mergeBed from bedTools to merge the overlapping reads.

            Works good.

            Cheers
            Sukhdeep Singh

            Comment

            Latest Articles

            Collapse

            • mylaser
              Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by mylaser
              Kheloyaar: The Complete Guide to Kheloyaar Loginand Kheloyaar ID
              The online gaming industry has transformed the way people enjoy digital entertainment. As technology continues to improve, players are looking for platforms that offer convenience, security, and a seamless user experience. Kheloyaarhas gained attention among users who value an easy-to-use platform, quick account access, and a simple registration process.
              Whether you're exploring Kheloyaar for the first time or want to understand...
              Yesterday, 09:27 PM
            • 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.
              ...
              Yesterday, 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 10:04 AM
            0 responses
            8 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            7 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            10 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Working...