Skip to main content

Optimizer for degenerate codon use in phage library generation

Project description

Phagetrix

Open in Google Colab DOI PyPI version Action status

A codon optimizer for phage display library generation.

When making phage display libraries, it's easy to run out of permutations. 1 liter of phage solution can hold about $10^{12}$ different sequences.

We can approximate how many combinations we generate with $(nr\ of\ choices)^{(nr\ of\ positions)}$. If we change 10 aminoacids to "any" aminoacid, we can change about 9 AA's: $20^9 \approx 10^{12}$ permutations.

If we use the degenerate codon capabilities of the manufactureres such as IDT to the fullest, we can probably make combinations that are partially rational, and allow for 6 permutations in any postion.

That allows us to check out many more combinations that are likely to work: $6^{15} \approx 10^{12}$, so about 15 variable AA's instead of 9.

This tool allows you to easily specify what AA permutations you want, in which position, and calculates the best sequence of degenerate codons.

Example

PhageTrix is a tool to generate phage display libraries. You probably have an idea what AA's you want to replace, and what you want to replace them with. The sequence companies have a reasonable number of The file format has the AA sequence on the first line. Each following line is the AA to be changed, the digits indicating its position, and the AA options that should be generated for that position. The AA options are concatenated together with no spaces. Phagetrix will generate the best degenerate codon for each position.

Example:

VLPYMVAQVQ
P3PFYA
Y4YPFYE
A7AVILM
  1. The first line is the sequence you want to alter.
  2. The P in position 3 should be either a P, F, Y or an A
  3. The Y in position 4 should be either a Y, P, F, or an E
  4. The A in position 7 should be either an A, V, I, L or an M

Output:

   1   2   3   4   5   6   7   8   9  10
   V   L   P   Y   M   V   A   Q   V   Q
 GTT CTT BHC BHW ATG GTT DYR CAG GTT CAG

GTTCTTBHCBHWATGGTTDYRCAGGTTCAG

By default this uses the degenerate codons from IDT.

Try it

  • Open in Google Colab
  • Install it on your machine pip install phagetrix to get the phagetrix command line tool. Requires python3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phagetrix-0.1.10.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

phagetrix-0.1.10-py2.py3-none-any.whl (18.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file phagetrix-0.1.10.tar.gz.

File metadata

  • Download URL: phagetrix-0.1.10.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.11 Darwin/22.2.0

File hashes

Hashes for phagetrix-0.1.10.tar.gz
Algorithm Hash digest
SHA256 45bd06e5c46d9d4df733aebd769990721e9ee59a07c5a949bc741884f132810f
MD5 34e4b4fc850277699afe3ac0d979669c
BLAKE2b-256 09a98110db2db4cdedd5900a62d0844c526015c63f5ddf944ddf7bb3cdeb72a2

See more details on using hashes here.

File details

Details for the file phagetrix-0.1.10-py2.py3-none-any.whl.

File metadata

  • Download URL: phagetrix-0.1.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.11 Darwin/22.2.0

File hashes

Hashes for phagetrix-0.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 63872141298d6621cf4025b71b9c86a6c8d9709943a270bc91cca7a6a69cfa58
MD5 96c91a4f5aa123e266855b74ec9088b7
BLAKE2b-256 2250548871d7e685d75a4cd9b64787e1b387044b55df6e742e0c92f63cc3518b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page