Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Why there is 0 possible amplicon number in the output? #16

@Abieskawa

Description

@Abieskawa

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.
Screenshot 2024-12-23 at 19 54 32
Screenshot 2024-12-23 at 19 58 56

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}"
        )

Many thanks~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions