Socket
Socket
Sign inDemoInstall

g2p_mapper

Package Overview
Dependencies
16
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    g2p_mapper

Map genome to protein coordinates and back


Version published
Maintainers
1
Created

Readme

Source

g2p_mapper

A library for mapping transcript/protein positions to the genome

Usage

Install the g2p_mapper library from npm, then

import { genomeToTranscriptMapping } from 'g2p_mapper'

// pass in your feature, f, which is a "transcript" feature with the following
// data format:
// interface Feat {
//   strand: number
//   refName: string
//   type: string
//   phase: number
//   ID: string
//   score: number
//   start: number
//   end: number
//   subfeatures?: Feat[]
// }
const { g2p, p2g, refName, strand } = genomeToTranscriptMapping(f)

FAQs

Last updated on 18 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc