-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Pad target region by
max_amplicon_length
(#23)
Closes #16 Closes #17 This PR fixes the padding of the target region to be consistent with the original `fgprimer` implementation. (My bad 🙃 ) https://github.com/fulcrumgenomics/fgprimer/blob/6cf2542e927ced37dd0dce4c335de8dff07789c7/src/main/scala/com/fulcrumgenomics/primerdesign/primer3/Primer3.scala#L89-L93 Other changes - Validate that the max amplicon length permits sufficient space around the target region for primers to be designed - Renamed `region` to `design_region`, to better reflect the target/design region distinction - Renamed `_pad_target_region` to `_create_design_region`, for the same reason, and clarified its documentation - Added `min_primer_length` property to `Primer3Parameters` (`max_primer_length` already existed)
- Loading branch information
Showing
3 changed files
with
93 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters