comparison splicetrap/bin/splitdb.sh @ 7:37a16ff93dd9 draft default tip

planemo upload
author bioitcore
date Thu, 12 Oct 2017 16:26:36 -0400
parents
children
comparison
equal deleted inserted replaced
6:6d54abd510d7 7:37a16ff93dd9
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;