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

fixed bug that produced wrong overhang in linear, non-directional, single cut reactions. #408

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

TimothyStiles
Copy link
Collaborator

@TimothyStiles TimothyStiles commented Dec 1, 2023

Changes in this PR

fixed bug that produced wrong overhangs in linear, non-directional, single cut reactions.

Why are you making these changes?

There was a bug in CutWithEnzyme where in the case of linear, non-directional, single cut reactions, it would assume that the overhangs were produced by a forward facing cut site and return a sequence downstream. In the case of the cut being a reverse cut site it would return the wrong overhangs. This was fixed with a simple if-else

Are any changes breaking? (IMPORTANT)

There are no breaking changes.

Pre-merge checklist

All of these must be satisfied before this PR is considered
ready for merging. Mergeable PRs will be prioritized for review.

  • New/changed functionality is thoroughly tested.
  • New/changed functionality has a function giving an example of its usage in the associated test file. See primers/primers_test.go for what this might look like.
  • Changes are documented in CHANGELOG.md in the [Unreleased] section.
  • All code is properly formatted and linted.
  • The PR template is filled out.


var overhangSequence string

if len(forwardOverhangs) > 0 {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Koeng101 should similar logic be implemented elsewhere in this function?

@TimothyStiles TimothyStiles merged commit d0f6ab3 into main Dec 1, 2023
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the CutWithEnzyme-Regression branch December 1, 2023 04:56
@Koeng101
Copy link
Contributor

Koeng101 commented Dec 6, 2023

@TimothyStiles Why did you nuke the changelog in d0f6ab3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants