#!/bin/tcsh -f
#(ie run the tshell on this but don't read the .cshrc or .tcshrc)

echo version = 1.00 of mkbuilddouble 2006 Oct 26
# 2006 Oct 26, 1.00: origin 

echo -------- build the double ecoli library ----

set twoe = twoecoli.book

rm -f e.coli-k12
set wipelibrary = "rm -f l1 l2 l3 lib1 lib2 lib3 cat1 cat2 cat3 catin db exonfeatures"

$wipelibrary

lkgenome e.coli-k12

cat > inst << EOF
title "Double E. coli book - homologous and complementary sequences";
organism E.coli-K12;
chromosome E.coli-K12;
piece NC_000913;
get all piece direction +;
get all piece direction -;
EOF

delila

mv book $twoe

$wipelibrary

cp $twoe l1
touch l2 l3 catalp
catal

mv lib1 $twoe

$wipelibrary

echo at this point $twoe contains the double library

rm -f target
lk target $twoe
