Description:
This module takes an input text file containing barcodes, line separated, and listed in 5’ to 3’ direction. Two primers are specified at the command line. The first, primer 1, is the primer sequence (and linker) that is associated with a barcode. Primer 2 by default has no barcode associated with it, although barcode association with both primers can be enabled.
Each barcode/primer combination that potentially will form secondary structures will be listed with line number, barcode sequence, secondary structure, and energy in an output text file. Additionally, a postscript file showing graphical output for the secondary structure will be generated in a subdirectory of the output directory. Degenerate primers will be listed in the form(s) that are likely to have secondary structure.
Usage: check_primer_barcode_dimers.py [options]
Input Arguments:
Note
[REQUIRED]
[OPTIONAL]
Output:
Barcode/primer combinations that are likely to form secondary structures will be listed in the output ‘flagged_barcodes.txt’ file. Any such barcode/primer combination will also be present in the graphs/ directory, and named for the line number that the barcode was found on and the barcode sequence.
Example:
Standard Example:
check_primer_barcode_dimers.py [options] {-b barcode_filepath [required] -p primer_sequence_1 [required] -P primer_sequence_2 [required] -e DNA_energy_parameters_filepath [required]}
Set the annealing temperature to 65, set score threshold to -10, and point to the energy parameters file in the directory /home/BigErn/pprospector/DNA_parameters:
check_primer_barcode_dimers.py -b barcodes.txt -p "ACCTGACRGGTAATC" -P "CGACCAGTACG" -t 65 -s -10 -e /home/BigErn/pprospector/DNA_parameters/dna_DM.par