Skip to content

Generate Array of Alerts Warnings to be Associated with Each Primer #3

@David-Bianchi

Description

@David-Bianchi

As a user, I would like to generate an array-like structure of alerts that is associated with each primer to be output to the primer output file for all generated primers.

The list of alerts are as follows:

  1. High GC or High AT regions
  • Example: "GCGCCCCC" or "AATTTAAAA"
  1. Homopolymer stretches (> 5bp), like a polyA tail etc.
  • Example: "AAAAA"
  1. No repeated fragments (> 16 bp)
  2. High GC Content (> 70%)
  3. Very low or Very High Tm values (60-75 deg. C) (confirm with Nilmani the range for this), and see features prioritization sheet: https://docs.google.com/spreadsheets/d/16XHy-faOaQ7RQPW3zCwIzpDXPglADraUQ3HerBFSgx8/edit?gid=327078375#gid=327078375
    Results based alert:
  4. Temperature difference (**> 5 deg. C): The difference between forward and reverse primers should be within this temperature difference.

These alerts should be written as an additional column to the output.csv generated by the CLI such that it can then be read and displayed by the front-end.

Example Design visualization of how alerts will appear in the front-end when they are passed from the back-end:

See column "Alerts"

Image

Modules to use:
Biopython methods?

List of ACs:
AC1. For CLI display warnings in the terminal AND write to text file
AC2. For front-end write the warnings to .json

Sample Inputs/Outputs:
Sample Results.csv, where we would check for any alerts: https://github.com/Zhao-Group/Primer_Design_and_Worklists/blob/hardcode_to_args/Primer_Design/Primers_HMT_Plate2/HMT_Designed_primers.csv

Example alerts that would be generated (e.g.):

  • Phy_N227S_Fwd - Tm below 60/Tm out of range (the Tm is 46C)

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions