File: process_merged_nodup.sh

package info (click to toggle)
python-pairix 0.3.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 179,892 kB
  • sloc: ansic: 5,553; python: 1,207; sh: 602; perl: 464; makefile: 64
file content (6 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/bash
# usage: process_merged_nodup.sh merged_nodups.txt(newer version with strand1 as the first column)

input=$1
sort -t' ' -k2,2 -k6,6 -k3,3n -k7,7n $input | bgzip -c > $input.bsorted.gz
pairix -f -p merged_nodups $input.bsorted.gz