Mercurial > repos > bioitcore > splicetrap
view bin/splitdb.sh @ 5:2ebca9da5e42 draft default tip
planemo upload
author | bioitcore |
---|---|
date | Thu, 07 Sep 2017 17:39:24 -0400 |
parents | adc0f7765d85 |
children |
line wrap: on
line source
workingfolder=$1; cd $workingfolder cut -f1 ../TXdb.bed |uniq >chr.list; while read line ; do chr=`echo $line |tr -d "\n"`; grep -w $chr ../TXdb.bed >$chr.bed; split -3000 $chr.bed $chr.; echo $chr....; rm $chr.bed; done <chr.list;