opencloning 0.5.0.1__tar.gz → 0.5.1__tar.gz
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-0.5.0.1 → opencloning-0.5.1}/PKG-INFO +1 -1
- {opencloning-0.5.0.1 → opencloning-0.5.1}/pyproject.toml +1 -1
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/dna_functions.py +10 -3
- {opencloning-0.5.0.1 → opencloning-0.5.1}/LICENSE +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/README.md +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/__init__.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/_version.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/api_config_utils.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/app_settings.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/__init__.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/index.html +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/__init__.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/index.html +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_clone.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_gather.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_get_primers.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_summary.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/ziqiang_et_al2024/__init__.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/ziqiang_et_al2024/index.html +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/ziqiang_et_al2024/ziqiang_et_al2024.json +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/bug_fixing/README.md +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/bug_fixing/__init__.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/bug_fixing/backend_v0_3.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/catalogs/__init__.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/catalogs/igem2024.yaml +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/catalogs/openDNA_collections.yaml +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/catalogs/readme.txt +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/catalogs/seva.tsv +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/catalogs/snapgene.yaml +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/dna_utils.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/ebic/__init__.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/ebic/primer_design.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/ebic/primer_design_settings.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/annotation.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/assembly.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/endpoint_utils.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/external_import.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/no_assembly.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/no_input.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/other.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/endpoints/primer_design.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/get_router.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/http_client.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/main.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/ncbi_requests.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/primer3_functions.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/primer_design.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/pydantic_models.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/request_examples.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/temp_functions.py +0 -0
- {opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/utils.py +0 -0
|
@@ -8,7 +8,7 @@ authors = ["Manuel Lera-Ramirez <manulera14@gmail.com>"]
|
|
|
8
8
|
description = "Backend of OpenCloning, a web application to generate molecular cloning strategies in json format, and share them with others."
|
|
9
9
|
license = "MIT"
|
|
10
10
|
name = "opencloning"
|
|
11
|
-
version = "0.5.
|
|
11
|
+
version = "0.5.1"
|
|
12
12
|
package-mode = true
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
repository = "https://github.com/manulera/OpenCloning_backend"
|
|
@@ -130,8 +130,8 @@ async def request_from_snapgene(plasmid_set: dict, plasmid_name: str) -> Dseqrec
|
|
|
130
130
|
async def request_from_addgene(repository_id: str) -> Dseqrecord:
|
|
131
131
|
|
|
132
132
|
url = f'https://www.addgene.org/{repository_id}/sequences/'
|
|
133
|
-
async with get_http_client() as
|
|
134
|
-
resp = await
|
|
133
|
+
async with get_http_client() as addgene_client:
|
|
134
|
+
resp = await addgene_client.get(url)
|
|
135
135
|
if resp.status_code == 404:
|
|
136
136
|
raise HTTPException(404, 'wrong addgene id')
|
|
137
137
|
soup = BeautifulSoup(resp.content, 'html.parser')
|
|
@@ -151,7 +151,14 @@ async def request_from_addgene(repository_id: str) -> Dseqrecord:
|
|
|
151
151
|
404,
|
|
152
152
|
f'The requested plasmid does not have full sequences, see https://www.addgene.org/{repository_id}/sequences/',
|
|
153
153
|
)
|
|
154
|
-
|
|
154
|
+
|
|
155
|
+
async with get_http_client() as addgene_client:
|
|
156
|
+
# For media.addgene.org URLs, we need to first visit www.addgene.org
|
|
157
|
+
# to get the authentication cookie (__Secure_media_edge_auth)
|
|
158
|
+
await addgene_client.get('https://www.addgene.org/', follow_redirects=True)
|
|
159
|
+
|
|
160
|
+
dseqr = (await get_sequences_from_file_url(sequence_file_url, get_function=addgene_client.get))[0]
|
|
161
|
+
|
|
155
162
|
dseqr.name = plasmid_name
|
|
156
163
|
dseqr.source = AddgeneIdSource(
|
|
157
164
|
repository_id=repository_id,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_clone.py
RENAMED
|
File without changes
|
{opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_gather.py
RENAMED
|
File without changes
|
{opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_get_primers.py
RENAMED
|
File without changes
|
{opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/pombe/pombe_summary.py
RENAMED
|
File without changes
|
|
File without changes
|
{opencloning-0.5.0.1 → opencloning-0.5.1}/src/opencloning/batch_cloning/ziqiang_et_al2024/index.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|