• bitcoinBitcoin(BTC)$80,195.000.55%
  • Midas Fasanara Global EuroMidas Fasanara Global Euro(MGLOEURO)$111,813.00-0.36%
  • ethereumEthereum(ETH)$2,328.140.75%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$742.540.29%
  • rippleXRP(XRP)$1.321.87%
  • usd-coinUSDC(USDC)$1.00-0.04%
  • solanaSolana(SOL)$100.44-0.83%
  • tronTRON(TRX)$0.327869-0.84%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.04-0.08%
  • zcashZcash(ZEC)$1,278.123.84%
  • HyperliquidHyperliquid(HYPE)$79.142.44%
  • dogecoinDogecoin(DOGE)$0.0778280.74%
  • moneroMonero(XMR)$590.93-0.33%
  • USDSUSDS(USDS)$1.000.01%
  • whitebitWhiteBIT Coin(WBT)$77.000.27%
  • chainlinkChainlink(LINK)$11.39-0.41%
  • leo-tokenLEO Token(LEO)$9.01-0.30%
  • cardanoCardano(ADA)$0.2046740.14%
  • nearNEAR Protocol(NEAR)$4.55-0.17%
  • stellarStellar(XLM)$0.168447-0.49%
  • bitcoin-cashBitcoin Cash(BCH)$287.603.91%
  • RainRain(RAIN)$0.007143-10.35%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • daiDai(DAI)$1.00-0.01%
  • uniswapUniswap(UNI)$7.131.33%
  • litecoinLitecoin(LTC)$56.47-0.33%
  • CantonCanton(CC)$0.099808-0.15%
  • avalanche-2Avalanche(AVAX)$8.83-1.14%
  • USD1USD1(USD1)$1.000.01%
  • suiSui(SUI)$0.920.83%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.21-0.83%
  • hedera-hashgraphHedera(HBAR)$0.076050-1.60%
  • tether-goldTether Gold(XAUT)$4,039.990.69%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • paypal-usdPayPal USD(PYUSD)$1.000.04%
  • BittensorBittensor(TAO)$250.06-0.72%
  • quant-networkQuant(QNT)$200.21-6.11%
  • shiba-inuShiba Inu(SHIB)$0.0000050.06%
  • EthenaEthena(ENA)$0.2078530.94%
  • crypto-com-chainCronos(CRO)$0.053131-1.60%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • MemeCoreMemeCore(M)$1.0610.56%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.03%
  • okbOKB(OKB)$108.59-0.15%
  • BitwayBitway(BTW)$1.496.23%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$131.85-3.19%
  • OndoOndo(ONDO)$0.415344-0.30%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

How to Build Plasmid Engineering Workbench with Circular Mapping, Restriction Analysis, Virtual Gels, and Primer Design

July 18, 2026
in AI & Technology
Reading Time: 2 mins read
A A
How to Build Plasmid Engineering Workbench with Circular Mapping, Restriction Analysis, Virtual Gels, and Primer Design
ShareShareShareShareShare
def _ang(bp, L):  return math.pi/2 - 2*math.pi*(bp/L)
def _pt(bp, r, L):
   a = _ang(bp, L); return r*math.cos(a), r*math.sin(a)
def _arc(s, e, r, L, n=240):
   if e < s: e += L
   bps = np.linspace(s, e, max(2, int(n*(e-s)/L)+2))
   return ([r*math.cos(_ang(b, L)) for b in bps],
           [r*math.sin(_ang(b, L)) for b in bps])
def gc_percent(seq):
   s = str(seq).upper(); n = len(s) or 1
   return 100.0 * (s.count("G") + s.count("C")) / n
def circular_map(rec, title=None, show_gc=True):
   L = len(rec.seq); feats = norm_features(rec)
   fig, ax = plt.subplots(figsize=(8, 8)); R = 1.0
   if show_gc:
       w = max(30, L // 120); step = max(1, w // 2); mean = gc_percent(rec.seq)
       s = str(rec.seq).upper()
       for i in range(0, L, step):
           win = s[i:i+w] or s[i:] + s[:(i+w) % L]
           dev = (gc_percent(win) - mean) / 100.0
           rr = 0.72 + dev * 0.9
           x0, y0 = _pt(i, 0.72, L); x1, y1 = _pt(i, rr, L)
           ax.plot([x0, x1], [y0, y1],
                   color="#2e86ab" if dev >= 0 else "#d1495b", lw=1, alpha=0.5, zorder=1)
   xs, ys = _arc(0, L, R, L); ax.plot(xs, ys, color="#333", lw=2.5, zorder=2)
   step = max(1, round(L/12/100)*100) or max(1, L//12)
   for t in range(0, L, step):
       x0, y0 = _pt(t, R*1.015, L); x1, y1 = _pt(t, R*1.045, L)
       ax.plot([x0, x1], [y0, y1], color="#999", lw=1, zorder=2)
       lx, ly = _pt(t, R*1.10, L)
       ax.text(lx, ly, f"{t:,}", ha="center", va="center", fontsize=7, color="#777")
   for f in feats:
       outer = f["strand"] >= 0
       rr = R + 0.09 if outer else R - 0.09
       xs, ys = _arc(f["start"], f["end"], rr, L)
       ax.plot(xs, ys, color=f["color"], lw=10, solid_capstyle="butt", alpha=0.9, zorder=3)
       tip = f["end"] if outer else f["start"]
       a = _ang(tip, L); tx, ty = rr*math.cos(a), rr*math.sin(a)
       d = -1 if outer else 1
       tanx, tany = -math.sin(a)*d, math.cos(a)*d
       px, py = math.cos(a), math.sin(a)
       ln, wd = 0.055, 0.052
       ax.add_patch(Polygon([(tx+tanx*ln, ty+tany*ln),
                             (tx+px*wd,   ty+py*wd),
                             (tx-px*wd,   ty-py*wd)],
                            color=f["color"], zorder=4))
       span = (f["end"] - f["start"]) % L
       mid = (f["start"] + span/2) % L
       lx, ly = _pt(mid, (rr + 0.16) if outer else (rr - 0.16), L)
       ax.text(lx, ly, f["label"], ha="center", va="center",
               fontsize=8.5, color=f["color"], weight="bold", zorder=5)
   circ = "circular" if rec.annotations.get("topology") == "circular" else "linear"
   ax.text(0,  0.05, title or rec.name, ha="center", va="center", fontsize=15, weight="bold")
   ax.text(0, -0.07, f"{L:,} bp · {gc_percent(rec.seq):.1f}% GC · {circ}",
           ha="center", va="center", fontsize=9.5, color="#555")
   ax.set_xlim(-1.45, 1.45); ax.set_ylim(-1.45, 1.45)
   ax.set_aspect("equal"); ax.axis("off"); plt.tight_layout(); plt.show()

Credit: Source link

YOU MAY ALSO LIKE

Bito Launches Governor to Cut Coding-Agent Costs With Context and Model Routing – Unite.AI

Anthropic’s Political Problem Will Get Worse Before It Gets Better

ShareTweetSendSharePin

Related Posts

Bito Launches Governor to Cut Coding-Agent Costs With Context and Model Routing – Unite.AI
AI & Technology

Bito Launches Governor to Cut Coding-Agent Costs With Context and Model Routing – Unite.AI

October 27, 2026
Anthropic’s Political Problem Will Get Worse Before It Gets Better
AI & Technology

Anthropic’s Political Problem Will Get Worse Before It Gets Better

October 27, 2026
IBM and Kaggle Partner on Continuous ScarfBench Migration Leaderboard – Unite.AI
AI & Technology

IBM and Kaggle Partner on Continuous ScarfBench Migration Leaderboard – Unite.AI

October 27, 2026
NASA Plans To Launch Three Massive Rockets For The Artemis 3 Crewed Lunar Test Mission
AI & Technology

NASA Plans To Launch Three Massive Rockets For The Artemis 3 Crewed Lunar Test Mission

October 27, 2026
Next Post
Google Cloud’s Always-On Memory Agent Replaces RAG and Embeddings With Continuous LLM Consolidation on Gemini 3.1 Flash-Lite

Google Cloud's Always-On Memory Agent Replaces RAG and Embeddings With Continuous LLM Consolidation on Gemini 3.1 Flash-Lite

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
RTB Digital: The Binary Is Itself Reflexive, Risky With Higher Costs Of Capital (RTB)

RTB Digital: The Binary Is Itself Reflexive, Risky With Higher Costs Of Capital (RTB)

October 25, 2026
0,000 In Debt and Need a New Septic Tank

$100,000 In Debt and Need a New Septic Tank

October 24, 2026
Zelenskyy slams Trump over deal for Russian diesel 

Zelenskyy slams Trump over deal for Russian diesel 

October 25, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!