Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Anexum
    Junior Member
    • Feb 2016
    • 1

    Extraction of BigWig data from UCSC

    Hi,
    I have a set of big wig files for ChIP-seq data and im looking to extract the values over a set genomic interval. However I have over 170 different tracks to extract, and I was wondering if there was a way to do it as a batch process?

    Any help is appreciated
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Either use bash with an appropriate UCSC tool or python with pyBigWig. Depending on what exactly you want to do, you could also use deepTools (it can handle remote files as well, though be sure to not use many threads in this case).

    Comment

    • Richard Finney
      Senior Member
      • Feb 2009
      • 701

      #3
      Use your favorite language to generate a quick script: bash,perl, python, objective haskell, whatever. Learn one of these tools enough to smack around a list of files. There is no alternative to skinning your knees and learning. There is no iphone app. Make sure you are backed up.

      Beg , borrow, steal, build the UCSC bigWigToWig program .... or just download it from here ....


      make bigWigToWig executable. run it without arguments to see how to use it.

      (dont need the chrom size files like you do for wigToBigWig)

      So .... using the bash command line in this case ..... here's a real ugly hack ...

      ls *.bw | awk '{print "/whereveritis/bigWigToBigWig -chrom=chr1 -start=1 -end-1000 "$1" out."$1".wig"}' | bash


      Nota bene: there are other UCSC bigwig utilities you might check out.
      Last edited by Richard Finney; 02-20-2016, 11:53 AM.

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:09 AM
      0 responses
      10 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 11:40 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Working...