Table of Contents
- Using the Online Tool
- Using the Generated Code
Using the Online Tool
Single Word or Multi Word
By selecting the "Single Word" or "Multiple Word" radio buttons, you can generate code that will use single computer word bit-vectors or multiple computer word bit-vectors. Single word code will only be able to align strings where one of the strings to be aligned is less than 64 characters long. Multiple word code doesn't have this limitation, but requires more operations and thus has longer run-times, even when sequences are short.
ParametersThese are the typical similarity scoring alignment parameters of Match, Mismatch, and Gap Penalty.
BitPAl comes in two "flavors", Original and Packed. The difference between the two is detailed in (..). Briefly, the two versions of BitPAl use different bit-vector representations. In general, the Packed version will offer better performance. However, for very small (in magnitude) parameter values, the Original version will have better performance.
Debug LevelThe BitPAl code generator has three levels of debug information.
- Off means that no debugging information is generated.
- Some means that debugging code is generated by the Python code in BitPAl's C output code .
- All means that the debugging code generated by Some is generated, as well as debug printouts that are generated in the Python code
Semi Global AlignmentA semi-global alignment is an alignment where gaps are allowed without penalty at the beginning or end of the sequences to be aligned. The semi global alignment options currently implemented are:
- Allow gaps in beginning of first string
- Allow gaps in the end of the first string
Using the Generated CodeThe code file generated by BitPAl is C that can be either compiled into an example executable or integrated into other programs.
CompilationGCC on GNU/Linux is the compiler that was used during development, and is the recommended compiler. MinGW can be used on Windows. To compile using gcc:
gcc -o bitpal code.c
UsageA file of generated sequence data is available to test the compiled program. To run BitPAl, compiled as above: