Previous: , Up: Miscelaneous   [Contents]

2.5.2 Call an external program on each block.

The SystemCall filter runs an external program on each block. For each block, the alignment is written to a temporary file, whose name and format can be specified. This input file is then read by the external program. The called program is expected to generate results in the form of an alignment with the same sequence names, so that it can be read by maffilter. In most case, the external program will be a wrapper script.

Synopsis:

maf.filter=                                 \
    [...],
    SystemCall(                             \
        name=myextprog,                     \
        input.file=tmp.fa,                  \
        input.format=Fasta,                 \
        call=myscript.sh,                   \
        output.file=output.fa,              \
        output.format=Fasta),               \
    [...]

Arguments:

name={string}

A label to use, might be useful in case several tools are called.

input.file={none|{path}}

A file path where to write the block alignment, to be used as input by the external program.

input.format={string}

Alignment format for input file.

output.file={none|{path}}

A file path where to read the processed block alignment, output by the external program.

output.format={string}

Alignment format for output file.

call={string}

The system call to run external program.