PickPCRPrimers
apiblocks.PickPCRPrimers
Designs primers for a PCR reaction using Primer3.
Parameters:Name | Type | Description | Example | Default |
---|---|---|---|---|
dna | DNA |
Target DNA sequence to design primers for. |
||
concentrations | Optional[PCRConcentrations] |
Concentrations of salts and dNTPs for accurate Tm estimations |
||
targets | List[Interval] |
Target intervals for PCR. If more than one interval is given will search for targets that overlap at least one interval |
||
included_region | Optional[Interval] |
Sub-region of the sequence from which to pick primers. Considering the full seuqnce if not given |
||
primer_size | Optional[Parameter3Range[int]] |
Size of primers |
||
product_size | Optional[List[Parameter2Range]] |
Acceptable range of PCR product size |
||
primer_tm | Optional[Parameter3Range[float]] |
Primer melting temperature in degrees Celsius |
||
primer_gc | Optional[Parameter3Range[int]] |
GC% content of the primer sequece |
Returns:
Type | Description |
---|---|
List[PrimerPair] |
A list of primer pairs that fit the specified constraints. |
Raises:
Type | Description |
---|---|
Failed to run Primer3
|
If Primer3 raised an error during execution. |
$ curl 'https://api.apiblocks.dev/rpc' \
-H 'X-API-KEY: $APIBLOCKS_TOKEN' \
-H 'Content-Type: application/json' \
--data '{
"id": "32dd3347-2e06-4adc-93a0-ee3ed2dbc2fb",
"method": "apiblocks.PickPCRPrimers",
"params": {
"dna": {
"seq": "AGACGACCGA"
},
"concentrations": {
"monovalent_salts": 50.0,
"divalent_salts": 1.5,
"dntps": 0.6
},
"targets": [
{
"start": 30,
"length": 5
}
],
"included_region": {
"start": 10,
"length": 100
},
"primer_size": {
"min": 15,
"optimal": 20,
"max": 25
},
"product_size": [
{
"min": 100,
"max": 150
}
],
"primer_tm": {
"min": 55.0,
"optimal": 60.5,
"max": 65.4
},
"primer_gc": {
"min": 40,
"optimal": 50,
"max": 60
}
}
}'