Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# GCB 24oct11 | ||
# | ||
# Usage: subclone <vector> <insert> <enzyme 1> <enzyme 2> | ||
# | ||
# Cut both vector and insert with both enzymes. | ||
# | ||
# Replace 2nd fragment of vector with 2nd fragment of insert; | ||
# and ligate. | ||
|
||
basedir=`dirname $0`; | ||
|
||
(cat $1 | ${basedir}/fastadigest $3 $4 | ${basedir}/fastasel 1; \ | ||
cat $2 | ${basedir}/fastadigest $3 $4 | ${basedir}/fastasel 2; \ | ||
cat $1 | ${basedir}/fastadigest $3 $4 | ${basedir}/fastasel 3;) | \ | ||
${basedir}/fastacat | ${basedir}/fastalint | ||
|