opencloning 0.3.4__py3-none-any.whl → 0.3.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- opencloning/assembly2.py +8 -20
- opencloning/endpoints/assembly.py +3 -1
- {opencloning-0.3.4.dist-info → opencloning-0.3.5.dist-info}/METADATA +1 -1
- {opencloning-0.3.4.dist-info → opencloning-0.3.5.dist-info}/RECORD +6 -6
- {opencloning-0.3.4.dist-info → opencloning-0.3.5.dist-info}/LICENSE +0 -0
- {opencloning-0.3.4.dist-info → opencloning-0.3.5.dist-info}/WHEEL +0 -0
opencloning/assembly2.py
CHANGED
|
@@ -745,7 +745,14 @@ class Assembly:
|
|
|
745
745
|
Examples
|
|
746
746
|
--------
|
|
747
747
|
|
|
748
|
-
from assembly2 import Assembly,
|
|
748
|
+
from assembly2 import Assembly, assembly2str
|
|
749
|
+
from pydna.dseqrecord import Dseqrecord
|
|
750
|
+
|
|
751
|
+
example_fragments = (
|
|
752
|
+
Dseqrecord('AacgatCAtgctcc', name='a'),
|
|
753
|
+
Dseqrecord('TtgctccTAAattctgc', name='b'),
|
|
754
|
+
Dseqrecord('CattctgcGAGGacgatG', name='c'),
|
|
755
|
+
)
|
|
749
756
|
|
|
750
757
|
asm = Assembly(example_fragments, limit=5, use_fragment_order=False)
|
|
751
758
|
print('Linear ===============')
|
|
@@ -1337,22 +1344,3 @@ class SingleFragmentAssembly(Assembly):
|
|
|
1337
1344
|
|
|
1338
1345
|
def get_linear_assemblies(self):
|
|
1339
1346
|
raise NotImplementedError('Linear assembly does not make sense')
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
example_fragments = (
|
|
1343
|
-
_Dseqrecord('AacgatCAtgctcc', name='a'),
|
|
1344
|
-
_Dseqrecord('TtgctccTAAattctgc', name='b'),
|
|
1345
|
-
_Dseqrecord('CattctgcGAGGacgatG', name='c'),
|
|
1346
|
-
)
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
'CattctgcGAGGacgatCAtgctcc'
|
|
1350
|
-
|
|
1351
|
-
linear_results = (
|
|
1352
|
-
_Dseqrecord('AacgatCAtgctccTAAattctgcGAGGacgatG', name='abc'),
|
|
1353
|
-
_Dseqrecord('ggagcaTGatcgtCCTCgcagaatG', name='ac_rc'),
|
|
1354
|
-
_Dseqrecord('AacgatG', name='ac'),
|
|
1355
|
-
)
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
circular_results = (_Dseqrecord('acgatCAtgctccTAAattctgcGAGG', name='abc', circular=True),)
|
|
@@ -39,6 +39,7 @@ from ..assembly2 import (
|
|
|
39
39
|
blunt_overlap,
|
|
40
40
|
combine_algorithms,
|
|
41
41
|
annotate_primer_binding_sites,
|
|
42
|
+
common_sub_strings,
|
|
42
43
|
)
|
|
43
44
|
|
|
44
45
|
from ..gateway import gateway_overlap, find_gateway_sites, annotate_gateway_sites
|
|
@@ -417,8 +418,9 @@ async def gibson_assembly(
|
|
|
417
418
|
def create_source(a, is_circular):
|
|
418
419
|
return source.__class__.from_assembly(assembly=a, circular=is_circular, id=source.id, fragments=fragments)
|
|
419
420
|
|
|
421
|
+
algo = gibson_overlap if not isinstance(source, InVivoAssemblySource) else common_sub_strings
|
|
420
422
|
resp = generate_assemblies(
|
|
421
|
-
source, create_source, fragments, circular_only,
|
|
423
|
+
source, create_source, fragments, circular_only, algo, False, {'limit': minimal_homology}
|
|
422
424
|
)
|
|
423
425
|
|
|
424
426
|
if len(resp['sources']) == 0:
|
|
@@ -2,7 +2,7 @@ opencloning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
opencloning/_version.py,sha256=6QbWXLSZypjtWL_CwJFHH4dzMRK3AUH4B0YudzvGz9s,200
|
|
3
3
|
opencloning/api_config_utils.py,sha256=inAXPGYNDz-DuEoSqitImj0Vv5TpQSbMZH9D3dQb5P0,4319
|
|
4
4
|
opencloning/app_settings.py,sha256=MScy0le1Dn00rxqDkpeoBLWwjWQTyzHBQ-MqSDdmoe4,2054
|
|
5
|
-
opencloning/assembly2.py,sha256=
|
|
5
|
+
opencloning/assembly2.py,sha256=GEHii1WSXoUFjJDeCBXsCxQ6tIqhwF77DeRnsxkrtMM,56770
|
|
6
6
|
opencloning/batch_cloning/EBIC/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
opencloning/batch_cloning/EBIC/barcode.gb,sha256=G6kP6MuY23S-n3xg16LQaTasFtYFqik5eEgcooZ9ATM,815
|
|
8
8
|
opencloning/batch_cloning/EBIC/common_plasmid.gb,sha256=At1HJjqJ2MsLMEx6W3MihJy7tgdtDu3fhwF4YGuw8Dk,13068
|
|
@@ -30,7 +30,7 @@ opencloning/ebic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
30
30
|
opencloning/ebic/primer_design.py,sha256=gPZTF9w5SV7WGgnefp_HBM831y0z73M1Kb0QUPnbfIM,2270
|
|
31
31
|
opencloning/ebic/primer_design_settings.py,sha256=OnFsuh0QCvplUEPXLZouzRo9R7rm4nLbcd2LkDCiIDM,1896
|
|
32
32
|
opencloning/endpoints/annotation.py,sha256=3rlIXeNQzoqPD9lJUEBGLGxvlhUCTcfkqno814A8P0U,2283
|
|
33
|
-
opencloning/endpoints/assembly.py,sha256=
|
|
33
|
+
opencloning/endpoints/assembly.py,sha256=KrrsqG8jgR_Xe9BnfNvpbJce600rvMi8jXFu8wQuXX8,21092
|
|
34
34
|
opencloning/endpoints/external_import.py,sha256=i2hAKSYi2IIdglmDhDhWmBzHbhn6A9A8ybbj4nmhROM,18188
|
|
35
35
|
opencloning/endpoints/no_assembly.py,sha256=NY6rhEDCNoZVn6Xk81cen2n-FkMr7ierfxM8G0npbQs,4722
|
|
36
36
|
opencloning/endpoints/no_input.py,sha256=DuqKD3Ph3a44ZxPMEzZv1nwD5xlxYsN7YyxXcfjSUFc,3844
|
|
@@ -45,7 +45,7 @@ opencloning/primer_design.py,sha256=nqCmYIZ7UvU4CQwVGJwX7T5LTHwt3-51_ZcTZZAgT_Y,
|
|
|
45
45
|
opencloning/pydantic_models.py,sha256=lMO78M4MwDgzTEGz9qzsaADwAFXagWK4qGsF1K1hLZw,18865
|
|
46
46
|
opencloning/request_examples.py,sha256=QAsJxVaq5tHwlPB404IiJ9WC6SA7iNY7XnJm63BWT_E,2944
|
|
47
47
|
opencloning/utils.py,sha256=0Lvw1h1AsUJTK2b9mNzYVi_DBeWmWCFA5dIPl_gERcI,1479
|
|
48
|
-
opencloning-0.3.
|
|
49
|
-
opencloning-0.3.
|
|
50
|
-
opencloning-0.3.
|
|
51
|
-
opencloning-0.3.
|
|
48
|
+
opencloning-0.3.5.dist-info/LICENSE,sha256=VSdVE1f8axjIh6gvo9ZZygJdTVkRFMcwCW_hvjOHC_w,1058
|
|
49
|
+
opencloning-0.3.5.dist-info/METADATA,sha256=y9nmpxH2Ew4kifbNfw7FrhzKS88djzWN_WWyk2A2lYk,9041
|
|
50
|
+
opencloning-0.3.5.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
51
|
+
opencloning-0.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|