Installation
pip install plasmid_design
Example
In a new directory, save the following to config.yaml, then run plasmid_design run. The drive_key below refers to this spreadsheet.
drive_key: &drive_key 1QWFQUlIJYERJ6zY-THD9uNagD2a_He7RUfcOeF2eEKM
tables:
# vector definitions
templates:
table: drive_key:templates
# selects just these rows
gate: experiment == "example"
drive_key: *drive_key
# DNA and protein part definitions
parts:
table: drive_key:parts
drive_key: *drive_key
# these DNA features will automatically be annotated
features:
table: drive_key:features
drive_key: *drive_key
# these restriction sites will be avoided
restriction_enzymes:
table: drive_key:enzymes
# selects just these rows
gate: pT02_BsaI == "x"
drive_key: *drive_key
The run command prints estimated cost and complexity scores. The following files will be generated:
gene_order.fa # genes, ready to order
gene_order_idt_scores.csv # IDT gene synthesis complexity scores (different from gblock complexity)
parts.csv # snapshot of input table
templates.csv # snapshot of input table
features.csv # snapshot of input table
reverse_translations/restriction_enzymes.csv # snapshot of input table
reverse_translations/input.fa # amino acid parts that need reverse translation
reverse_translations/output.fa # corresponding DNA, generated by DNA Chisel
reverse_translations/idt_scores.csv # per-part IDT gene synthesis complexity scores, not meaningful for short parts
reverse_translations/dna_chisel/ # DNA Chisel logs
Configuration
Tables can be sourced in different ways.
- local csv
table: /path/to/csv
- private google sheets
table: "drive:{spreadsheet name}/{sheet name}"
- public google sheets
table: "drive_key:{sheet_name}"drive_key: {drive_key}
For the public option, first enable link access in google sheets, then copy drive_key from the URL: https://docs.google.com/spreadsheets/d/{drive_key}/.
Changing the vector backbone
The DNA sequences upstream and downstream of the designed gene in the plasmid map are identified by having "up" or "down" in the part name. To change the vector backbone, define new upstream and downstream DNA parts, then change the template column in the templates sheet accordingly.
Metadata
Release files for plasmid-design 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plasmid_design-0.0.4.tar.gz | 15.3 kB | Without provenance | Details for plasmid_design-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plasmid_design-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for plasmid_design-0.0.4-py3-none-any.whl |
Total release size: 31.2 kB
Release files / plasmid_design-0.0.4.tar.gz
| Download URL | plasmid_design-0.0.4.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eebdab909700a655c864959cd06e67221304104087e579b142278aceccfea544
|
|
BLAKE2b-256 checksum How to use checksums |
9a29344ed8543f45e4fe23c4e5fa4d1d707580b127aa89b4c20d6728f415171d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / plasmid_design-0.0.4-py3-none-any.whl
| Download URL | plasmid_design-0.0.4-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2da5f62de38196224a98dfa56dc8c539c8be7944282c88c732d92f51a732fe57
|
|
BLAKE2b-256 checksum How to use checksums |
aff750d71d5388ef85dc3ed5309fb21f8ac1b4ba9f75fcd46db6a94bd9ee25c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for plasmid-design 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.