You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

g2p_mapper

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

g2p_mapper

Map genome to protein coordinates and back

1.0.7
latest
npmnpm
Version published
Maintainers
0
Created
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)

Notes

See also https://github.com/cmdcolin/interproscan2genome and https://github.com/cmdcolin/g2p_mapper_cli for usages of this tool

FAQs

Package last updated on 16 Nov 2024

Did you know?

Socket

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