File: mappabilityBigWig_to_unmappableBed.sh

package info (click to toggle)
python-deeptools 3.5.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 34,456 kB
  • sloc: python: 14,503; xml: 4,212; sh: 33; makefile: 5
file content (5 lines) | stat: -rwxr-xr-x 210 bytes parent folder | download | duplicates (3)
1
2
3
4
5
#!/usr/bin/sh

/package/UCSCTools/bigWigToBedGraph $1 _temp.bed
cat _temp.bed | perl -lane '$id+=1; if($F[3]<1) { print "$F[0]\t$F[1]\t$F[2]\tunmap_$id\t0"}' |  /package/BEDTools/bin/mergeBed > $2
rm _temp.bed