Mercurial > repos > bioitcore > chimerascan
view splicetrap/bin/splitdb.sh @ 7:37a16ff93dd9 draft default tip
planemo upload
| author | bioitcore |
|---|---|
| date | Thu, 12 Oct 2017 16:26:36 -0400 |
| parents | |
| 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;
