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

Create a SBOL 2 example of Component using pySBOL2 #15

Open
PrashantVaidyanathan opened this issue Sep 11, 2024 · 2 comments
Open

Create a SBOL 2 example of Component using pySBOL2 #15

PrashantVaidyanathan opened this issue Sep 11, 2024 · 2 comments
Assignees

Comments

@PrashantVaidyanathan
Copy link
Contributor

No description provided.

@Yehuda-Binik Yehuda-Binik self-assigned this Sep 12, 2024
@Yehuda-Binik
Copy link
Contributor

Yehuda-Binik commented Sep 13, 2024

@jakebeal @tcmitchell @cjmyers

Does anyone understand the difference between SequenceAnnotation and sourceLocations? I mean, I have read the documentation multiple times and understand from an abstract point of view the differences, but I just don't get what their different uses are in practice. When would you use one vs another? It seems important to me to include the sourceLocations property in the Component NoteBook, however I am having trouble. In the MarkDown, I want to explain why or why not one would use a sourceLocation. However, I don't quite have an answer to this myself. Any assistance would be greatly appreciated.

@jakebeal
Copy link
Contributor

The key idea is that sourceLocation is used to say when only a portion of a ComponentDefinition is included.

For example, let's say that you've got a plasmid that is the RBS BBa_B0034 in a pSB1C3 backbone. If you do a BioBrick assembly to extract BBa_B0034 and insert it into another plasmid in front of the GFP coding sequence BBa_E0040 to make a composite ComponentDefinition, then you would use sourceLocation to express that the only the BBa_B0034 bit of your original plasmid is what got included in your composite. The SequenceAnnotation, on the other hand, will say where the BBa_B0034 goes in the composite.

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

No branches or pull requests

3 participants