https://github.com/alexpreynolds/tabix-service
A nodejs-based service for requests for tabix-indexed genomic data
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.0%) to scientific vocabulary
Keywords
Repository
A nodejs-based service for requests for tabix-indexed genomic data
Basic Info
- Host: GitHub
- Owner: alexpreynolds
- License: mit
- Language: JavaScript
- Default Branch: master
- Size: 124 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
tabix-service
A nodejs-based service for requests for tabix-indexed genomic data
Prerequisites
These instructions assume a CentOS 7 host and sudo-level access. It's probably easiest to set up a virtual host and run these tests within that host.
htslib toolkit
To set up htslib (and bgzip and tabix tools):
$ git clone git://github.com/samtools/htslib.git
$ git clone git://github.com/samtools/bcftools.git
$ sudo yum install zlib-devel
$ sudo yum install bzip2-devel
$ sudo yum install xz-devel
$ sudo yum install curl-devel
$ cd bcftools
$ make
$ sudo make install
$ cd ../htslib
$ make
$ sudo make install
This should put bgzip and tabix into /usr/local/bin.
Compressing and indexing test intervals
Compress and index the test interval file sample.bed, if not already done:
$ bgzip sample.bed
$ tabix -p bed sample.bed.gz
This creates two files: sample.bed.gz and sample.bed.gz.tbi.
A test query would work like this:
$ tabix sample.bed.gz chr1:10000000-11000000
chr1 10037856 10038006 id-501897 102
chr1 10197056 10197206 id-509857 19
Node.js
To install Node.js:
$ sudo yum install epel-release
$ sudo yum install nodejs
$ sudo yum install npm
Tabix server and client
Install the Node.js dependencies, if not installed:
$ cd tabix-service/server
$ npm install
$ cd ../client
$ npm install
Starting Tabix service
$ cd tabix-service/server
$ export TABIX_SERVER_PORT=1234
$ node app.js
Starting Tabix test client
$ cd tabix-service/client
$ export TABIX_CLIENT_PORT=4567
$ node app.js
Then visit http://localhost:4567 to run test queries.

Owner
- Name: Alex Reynolds
- Login: alexpreynolds
- Kind: user
- Location: Seattle, WA USA
- Company: Altius Institute for Biomedical Sciences
- Website: bitsumma.com
- Repositories: 92
- Profile: https://github.com/alexpreynolds
Pug caregiver, curler, cyclist, gardener, beginning French scholar
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 1 day
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 1.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- bambrozio (1)
- denisemauldin (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- express ^4.15.3
- jquery ^3.2.1
- path ^0.12.7
- request ^2.81.0
- winston ^2.3.1
- child_process ^1.0.2
- express ^4.15.3
- fs 0.0.1-security
- http 0.0.0
- path ^0.12.7
- request ^2.81.0
- url ^0.11.0
- valid-url ^1.0.9
- winston ^2.3.1