Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter option that restricts primer design to regions specific to a target class #31

Open
widdowquinn opened this issue Dec 5, 2018 · 1 comment
Assignees

Comments

@widdowquinn
Copy link
Owner

In order to maximise the ability to design primers belonging to a single target class, we propose to use the pdp filter subcommand to restrict the primer design region for a single target class in the config file, with a command like:

pdp filter --target CLASS

Where CLASS is a single target class defined in the configuration file for the run.

With this option specified, an all-vs-all mummer comparison of input genomes will be performed, and genomes divided into two groups: those having CLASS specified (targets), and those not having CLASS specified (non-targets).

For those genomes with the CLASS property, the mummer alignments against non-CLASS genomes will be identified, and any regions contributing to such an alignment will be excluded by the filter.

This process could be extended with the command

pdp filter --target_specific CLASS

which would carry out the same alignments, but further inspect the alignments of CLASS genomes to each other and retain only those regions that are common to all members of CLASS.

@widdowquinn widdowquinn self-assigned this Dec 5, 2018
@widdowquinn
Copy link
Owner Author

As an implementation, a first thought is:

  • all-vs-all genome comparisons with mummer
  • for each genome with CLASS
    • collect alignments against non-CLASS genomes as intervals on the query genome
    • identify the union of aligned regions on the query genome
    • generate an exclusion .bed file that is the inverse of the union of aligned regions

The .bed file will then define the region in each CLASS genome to which primer sets may be designed, when using the pdp eprimer3 --filter subcommand.

@widdowquinn widdowquinn changed the title Add filter option that restricts to a regions specific to a target class Add filter option that restricts primer design to regions specific to a target class Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant