annotate MISA/design_MISA.sh @ 2:16b5aa275b42 default tip

Uploaded minor revision to gff converter
author john-mccallum
date Wed, 23 Nov 2011 19:15:31 -0500
parents 3006582bfc76
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
1 #!/bin/sh
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
2 #design primer sets from MISA output using Primer 3 and MISA helper scripts
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
3 #USAGE sh design_MISA.sh <misa_file> <source_fasta_file> <output_file>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
4
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
5 #get directory
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
6 SCRIPT=`readlink -f $0`
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
7 SCRIPTPATH=`dirname $SCRIPT`
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
8
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
9 perl $SCRIPTPATH/p3_in.pl $1 $2 temp.p3in
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
10
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
11 cat temp.p3in | primer3_core > temp.p3out
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
12
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
13
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
14 perl $SCRIPTPATH/p3_out.pl temp.p3out $1 $3
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
15
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
16 rm -f temp.*
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
17