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

sequenceModel instantiation should validate stickyEnds (and sequence) if present #247

Open
AJamesPhillips opened this issue Aug 24, 2015 · 0 comments

Comments

@AJamesPhillips
Copy link
Contributor

If a new sequence is made:

var attributes = {
  sequence: 'AT',
  stickyEnds: {
    start: {
      sequence: 'GG',
      offset: 1,
      size: 1,
    }
  }
};
new SequenceModel(attributes);

... then the attributes are invalid, and the sequenceModel should fail to instantiate. Either the sequence should be GGAT given the stickyEnd start sequence of GG, or the stickyEnd sequence should be AT.

@AJamesPhillips AJamesPhillips changed the title New sequences should validate stickyEnds if present sequenceModel instantiation should validate stickyEnds (and sequence) if present Aug 24, 2015
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