File: rastbatch.sh

package info (click to toggle)
ncbi-tools6 6.1.20170106%2Bdfsg1-0%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 468,492 kB
  • sloc: ansic: 1,474,204; pascal: 6,740; cpp: 6,248; xml: 3,390; sh: 2,137; perl: 1,084; csh: 508; makefile: 427; ruby: 93; lisp: 81
file content (10 lines) | stat: -rwxr-xr-x 195 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh

# usage ./rastbatch.sh template directory locus_tag_prefix product_id_prefix

PATH=$PATH:.
export PATH

find $2 -name "*.gb" | while read file; do
  ./rast2sqn.sh $1 $file $3 $4
done