Mercurial > repos > bioitcore > splicetrap
comparison bin/splitdb.sh @ 1:adc0f7765d85 draft
planemo upload
| author | bioitcore |
|---|---|
| date | Thu, 07 Sep 2017 15:06:58 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:d4ca551ca300 | 1:adc0f7765d85 |
|---|---|
| 1 workingfolder=$1; | |
| 2 cd $workingfolder | |
| 3 cut -f1 ../TXdb.bed |uniq >chr.list; | |
| 4 while read line ; | |
| 5 do | |
| 6 chr=`echo $line |tr -d "\n"`; | |
| 7 grep -w $chr ../TXdb.bed >$chr.bed; | |
| 8 split -3000 $chr.bed $chr.; | |
| 9 echo $chr....; | |
| 10 rm $chr.bed; | |
| 11 done <chr.list; |
