You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2025. It is now read-only.
Hi,
Thanks for developing so wonderful program. I want to ask why there is 0 possible amplicon number in the output? But it can still stick to the target? Please see the primer 0.
Here is my code. I incorporate to my preprocessing code, so it is in python form.
def run_command(command, description):
"""Run a shell command and handle errors."""
print(f"Running: {description}")
try:
result = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.stdout:
print(result.stdout.decode())
if result.stderr:
print(result.stderr.decode())
except subprocess.CalledProcessError as e:
print(f"Error during: {description}")
print(e.stderr.decode())
sys.exit(1)
run_command(
f"primertool full {consensus_candidate_noN} {consensus_noN_genome} "
f"--type SEQUENCE_INCLUDED_REGION --primer-num-retain 30 --check-multiplex "
f"--checking-size-max 800 -p 8 -t {primer_output} --amplicon-num-max 5",
f"Designing primers for {cid}"
)