File: process_old_merged_nodup.sh

package info (click to toggle)
python-pairix 0.3.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • 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-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/bash
# usage: process_old_merged_nodup.sh merged_nodups.txt (older version with readID as the first column)

input=$1
sort -t' ' -k3,3 -k7,7 -k4,4n -k8,8n $input | bgzip -cf > $input.bsorted.gz
pairix -f -p old_merged_nodups $input.bsorted.gz