Comments (5)
Hi thanks for the feedback. I think that should be possible using the RestrictionLigationMix class, and specifying multiple enzymes in a list.
If that doesn't work, you can try creating StickyEndFragments and feeding them to the StickyEndAssemblyMix class.
This file shows how the classes work together in a simulation: https://github.com/Edinburgh-Genome-Foundry/DnaCauldron/blob/master/dnacauldron/README.md
Let me know if you have trouble with the implementation and I'll try and look into it.
from dnacauldron.
Hi, thank you for the great package and documentation. I would like to simulate a Type2s-like assembly where the acceptor and the inserts are digested by different enzymes. In other words, the acceptor is digested with enzyme A, and the insert (or inserts) are digested with enzyme B. Is it possible to simulate that using dnacauldron? Thanks
Hi, I am currently trying to do the same thing. Did it work for you and if yes which approach did you use? Thank you!
from dnacauldron.
Sorry for asking again but would it be possible to do a simulation of Type2s-restriction assembly from an assembly plan , but in the case where the backbone and the insert are digested by different enzymes?
from dnacauldron.
Hi @toriapetrova , this is a problem that interests us as well, and I have planned making a script that will do it using DNA Cauldron elements.
I'll update on progress here.
from dnacauldron.
An example code answer to the original question, digesting with multiple enzymes (at the same time):
from Bio import SeqIO
import dnacauldron as dc
records = dc.biotools.load_records_from_files(folder="part_records/", use_file_names_as_ids=True)
mix = dc.RestrictionLigationMix(
parts=records,
enzymes=["BsmBI", "BsaI"],
fragment_filters=[dc.Filter.NoRestrictionSiteFilter("BsmBI"), dc.Filter.NoRestrictionSiteFilter("BsaI")],
name="restriction_mix",
annotate_fragments_with_parts=True,)
counter = 0 # in case there are more than one product
for assembly_record in mix.compute_circular_assemblies():
name = "record_" + str(counter) + ".gb"
SeqIO.write(assembly_record, name), format="genbank")
counter += 1
For using the assembly class, or an assembly plan, the original classes will have to be extended. I'll look into that as well.
from dnacauldron.
Related Issues (14)
- Check parts assembling into enzyme sites
- pdf_reports required but not installed by pip HOT 1
- The tutorial uses parts as keyword argument for SequenceRepository but now its collections as dict of dict HOT 1
- Annotating features with qualifiers HOT 1
- Purpose of OligoPairAnnealing class (oligo_annealing method in assembly plan) HOT 2
- Test fails with Biopython v1.79 HOT 1
- example with ladders HOT 1
- TypeError: StickyEndSeq.reverse_complement() got an unexpected keyword argument 'inplace' HOT 1
- problem with snapgene_reader HOT 3
- Unwanted case-sensitivity when indexing fragment against source record HOT 2
- Linear assemblies? HOT 3
- annotations crossing overhangs lost HOT 7
- Choosing enzyme in AssemblyPlan.from_spreadsheet()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnacauldron.