txreader

read transcriptome data

npm install txreader
14 downloads in the last month

txreader

description

Handling transcript information data. (e.g. knownGene.txt)

installation

$ npm install txreader

usage

var TxReader = require('txreader');
var tx = new TxReader('knownGene.txt');
var info = tx.getInfo('uc001acn.2'); // info object (explains later)

info?

uc011msz
key name description example
name name of the transcript
chrom chromosome name chr11
strand strand of the transcript (+/-) +
isMinus if strand is minus (boolean) false
txStart transcription start position (0-based coordinate system) 12345880
txEnd transcription end position (0-based coordinate system) 12346880
cdsStart coding region start position (0-based coordinate system) 12345880
cdsEnd coding region end position (0-based coordinate system) 12346880
proteinID protein ID B7ZGX9
exons list of exons. (Array) [{start: xxx, end: xxx}, ...]
npm loves you