Bio.Wise.dnal module

Run and process output from the Wise2 package tool dnal.

Bio.Wise contains modules for running and processing the output of some of the models in the Wise2 package by Ewan Birney available from:

Bio.Wise.psw is for protein Smith-Waterman alignments Bio.Wise.dnal is for Smith-Waterman DNA alignments

class Bio.Wise.dnal.Statistics(filename, match, mismatch, gap, extension)

Bases: object

Calculate statistics from an ALB report.

__init__(self, filename, match, mismatch, gap, extension)

Initialize the class.


Calculate the fraction of matches.

header = 'identity_fraction\tmatches\tmismatches\tgaps\textensions'

Statistics as a tab separated string.

Bio.Wise.dnal.align(pair, match=4, mismatch=- 1, gap=- 5, extension=- 1, **keywds)

Align a pair of DNA files using dnal and calculate the statistics of the alignment.


Command line implementation.