npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mmsb/linear-card

v1.2.0

Published

Stencil Component Starter

Downloads

4

Readme

Built With Stencil

Linear Representation of a gene with sgRNA distribution

example display

Usage

Need two properties : all_sgrna and gene. Others properties are by default but be careful concerning the property width_div.

all_sgrna

A string in JSON format, with the sgRNA as key and a list of coordinates as values. This list must match the regex : [+-]\([0-9]*,[0-9]*\) .

{ "AAAGGTACTCCGGGGATAACAGG":["+(3343404,3343426)","+(4024637,4024659)","+(4270051,4270073)","+(4361123,4361145)","+(4466866,4466888)","-(255252,255274)","-(842752,842774)"],
  "AACGGATAAAAGGTACTCCGGGG":["+(3343412,3343434)","+(4024645,4024667)","+(4270059,4270081)","+(4361131,4361153)","+(4466874,4466896)","-(255244,255266)","-(842744,842766)"],
  "ATGTCGGCTCATCACATCCTGGG":["+(3343334,3343356)","+(4024567,4024589)","+(4269981,4270003)","+(4361053,4361075)","+(4466796,4466818)","-(255322,255344)","-(842822,842844)"],
  "ACCTTTTATCCGTTGAGCGATGG":["+(255235,255257)","+(842735,842757)","-(3343421,3343443)","-(4024654,4024676)","-(4270068,4270090)","-(4361140,4361162)","-(4466883,4466905)"]}

gene

A string in JSON format, a list of dictionary with start and end as key and coordinates as values.

[{"start":"255180","end":"255599"},{"start":"842680","end":"843099"},{"start":"3343077","end":"3343496"},{"start":"4024310","end":"4024729"},{"start":"4269724","end":"4270143"},{"start":"4360796","end":"4361215"},{"start":"4466539","end":"4466958"}]

width_bar

default : 90% Need a percentage for the width of the bar which represents the gene.

nb_step

default : 20 The number of bar in histogram.

width_div

default : screen.width If the component is under a div, give the width of the div to calculate the width of the histogram according to the width of the bar.

Event

None

Authors

Sophie LEMATRE

Date

July 17 2019