Documentation read from 04/17/2019 22:07:26 version of /vol/public-pseed/FIGdisk/FIG/bin/svr_in_runs.

svr_in_runs

svr_in_runs

    svr_in_runs <groups.tbl >operons.tbl

Make sequences of genes into operons.

This script takes as input groups of genes and finds all the operons containing genes in each group. For the purposes of this script, an operon is a sequence of genes that are close together on the same contig and pointing in the same direction. The operons may contain other genes in the vicinity of the ones specified in the original input.

The input must be a tab-delimited file. Each group should be the last field on a line, and must be specified as a comma-separated list of FIG IDs. The operons will also be rendered as a comma-separated list of FIG IDs. The output will consist of the input lines with operons tacked onto the end. Since a group may contain multiple operons, a single input line may produce multiple output lines.

This is a pipe command: the input is taken from the standard input and the output is to the standard output.

Command-Line Options

MaxGap

Maximum number of base pairs that can be between to genes in order for them to be considered as part of the same operon. The default is 200.

JustFirst

If specified, then only the first gene in an operon will be included in the output.

url

The URL for the Sapling server, if it is to be different from the default.