This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to design primers with primer3_core

Hi, I want to use "primer3_core" to design PCR primers from a multi-fasta file.

The --help says : $ primer3_core < my_input_file

But output said :

PRIMER_ERROR=thermodynamic approach chosen, but path to thermodynamic parameters not specified

Maybe it has something to do with the "PRIMER_THERMODYNAMIC_PARAMETERS_PATH", but the doc is not clear enough for me. There is also no clear example of a command line.

Thanks

primers

1 answer

you have to add a line like:

PRIMER_THERMODYNAMIC_PARAMETERS_PATH=/your/path/to/primer3_config

the primer3_config directory is shipped with primer3 e.g : https://github.com/primer3-org/primer3/tree/master/src/primer3_config

Thanks Pierre, do you mean :

$ primer3_core < PRIMER_THERMODYNAMIC_PARAMETERS_PATH=/my/path/to/primer3_config my_input_file

?

The primer3_config directory is not found. However it's existing and containing the following files/directories : dangle.dh interpretations loops.ds stack.ds stackmm.ds tetraloop.ds triloop.ds tstack2.ds tstack_tm_inf.ds dangle.ds loops.dh stack.dh stackmm.dh tetraloop.dh triloop.dh tstack2.dh tstack.dh

sorry, it doesn't work....here is my whole command :

$ PRIMER_THERMODYNAMIC_PARAMETERS_PATH=/usr/local/bioinfo/src/Primer3/current/bin/primer3_config $ primer3_core < Sus_scrofa_IFNG_201_sequence.fa

output: PRIMER_ERROR=thermodynamic approach chosen, but path to thermodynamic parameters not specified

the input of primer3 is NOT a fasta file. Please, read the manual.

I took the same example as in the manual and I still have the same error....

show me the first lines of your input file please.

Ok I got it. The "PRIMER_THERMODYNAMIC_PARAMETERS_PATH=/my/path/to/primer3_config/" (with a trailing slash) should be written at the top of the sequence file.

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.

Upvote|Bookmark|Accept

Log in to answer this question.