Table of Contents


Blast Caller

Introduction

This package exports the ExecBlast method, which can be used to perform a BLAST from a FASTA file against one or more genomes.

Data Structures

ToolTable

The tool table is a hash that provides useful information about each blast tool. The hash maps each tool name to a hash reference. The various fields in the hashes are as follows.

db_type

Type of database against which the tool runs: prot for a protein database and dna for a DNA database.

Public Methods

ExecBlast

my @sims = ExecBlast($fig, $seqFile, \@genomes, $tool, $options);

Call BLAST to compute the similarities for a sequence.

fig

A FIG-like object for accessing the data store.

seqFile

Name of a file containing the sequence to blast in FASTA format.

genomes

A list of the IDs for the target genomes of the blast.

tool

Name of the blast tool to use.

options

Options to pass to the blast tool, formatted for the command line.

RETURN

Returns a list of similarity objects, each representing a segment similar to the incoming sequence.

Blast Utilities

VerifyDB

CallBlast::VerifyDB($db, $type);

Verify that the specified FASTA file has BLAST databases. If the databases do not exist, they will be created. If they are older than the FASTA file, they will be regenerated.

db

Name of the FASTA file.

type

Type of database desired: prot for protein and dna for DNA.