open-index/open-npm huggingface dataset:
npm package: @givengine/chrom-region
Description: Chromosomal region class used in GIVE, supporting some basic region operations
Author: Xiaoyi Cao
Latest version: 0.4.2

# chrom-region <!-- omit in toc --> 
Chromosomal region class used in GIVE, supporting some basic region operations.

- [Install](#install)
- [Usage](#usage)
- [Testing](#testing)
- [License](#license)
- [Class API Documentation](#class-api-documentation)

# Install
```bash
npm install @givengine/chrom-region
```

# Usage
```javascript
// Import class definition
const ChromRegion = require('@givengine/chrom-region')

// Instantiate a ChromRegion object
var newRegion = new ChromRegion('chr1:12345-67890')

// Operate on ChromRegions
newRegion.extend(1, true)
console.log(newRegion.toString())
```

# Testing

```bash
npm test
```

# License

Copyright 2017-2019 The Regents of the University of California.
All Rights Reserved.

Created by Xiaoyi Cao,
Department of Bioengineering

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


# Class API Documentation
Please refer to <https://github.com/Zhong-Lab-UCSD/chrom-region/blob/master/chromRegion.md>
npm package: @givengine/give-tree
Description: Node implementation of interval-tree based cache data structures: base class
Author: Xiaoyi Cao
Latest version: 0.3.2

# give-tree <!-- omit in toc -->
Node implementation of interval-tree based cache data structures.

- [Install](#install)
- [Usage](#usage)

# Install
```bash
npm install @givengine/give-tree
```

# Usage
You may import the entire namespace of `GiveTree`, which includes `GiveTree`, `GiveTreeNode`, `GiveNonLeafNode`, `DataNode` and `WitheringMixin`:
```javascript
// Import namespace
const GiveTreeNS = require('@givengine/give-tree')

// Extend your own tree and/or nodes
class MyOwnTree extends GiveTreeNS.GiveTree {
  // Extension code here
}

class MyOwnNode extends GiveTreeNS.WitheringMixin(GiveTreeNS.GiveTreeNode) {
  // Extension code here
}
```

Or you may selectively import part of the module:
```javascript
// Import tree definition only
const GiveTree = require('@givengine/give-tree').GiveTree

// Extend your own tree and/or nodes
class MyOwnTree extends GiveTree {
  // Extension code here
}
```
npm package: @givengine/oak-tree
Description: Oak tree, a GIVE Tree implementation with variable interval, no summary, auto-balanced (B+ tree) properties.
Author: Xiaoyi Cao
Latest version: 0.3.0

# oak-tree <!-- omit in toc -->
Oak tree, a GIVE Tree implementation with variable interval, no summary, auto-balanced (B+ tree) properties.

- [Install](#install)
- [Usage](#usage)

# Install
```bash
npm install @givengine/oak-tree
```

# Usage
You may import the entire namespace of `OakTree`, which includes `OakTree`, and `OakNode`:
```javascript
// Import namespace
const OakTreeNS = require('@givengine/oak-tree')

// Instantiate an Oak tree
var myOakTree = new OakTreeNS.OakTree('chr1:1-100000000')

// Extend your own tree and/or nodes
class MySpecialOakTree extends OakTreeNS.OakTree {
  // Extension code here
}

class MySpecialOakNode extends OakTreeNS.OakNode {
  // Extension code here
}
```

Or you may selectively import part of the module (if you only want to use `OakTree` this may be a better way):
```javascript
// Import tree definition only
const OakTree = require('@givengine/oak-tree').OakTree

// Instantiate an Oak tree
var myOakTree = new OakTree('chr1:1-100000000')
```
npm package: @givengine/pine-tree
Description: Pine Tree, a GIVE Tree implementation with fixed interval, low-resolution summary support.
Author: Xiaoyi Cao
Latest version: 0.3.0

# pine-tree <!-- omit in toc -->
Pine Tree, a GIVE Tree implementation with fixed interval, low-resolution summary support.

- [Install](#install)
- [Usage](#usage)

# Install
```bash
npm install @givengine/pine-tree
```

# Usage
You may import the entire namespace of `PineTree`, which includes `PineTree`, and `PineNode`:
```javascript
// Import namespace
const PineTreeNS = require('@givengine/pine-tree')

// Instantiate an Pine tree
var myPineTree = new PineTreeNS.PineTree('chr1:1-100000000')

// Extend your own tree and/or nodes
class MySpecialPineTree extends PineTreeNS.PineTree {
  // Extension code here
}

class MySpecialPineNode extends PineTreeNS.PineNode {
  // Extension code here
}
```

Or you may selectively import part of the module (if you only want to use `PineTree` this may be a better way):
```javascript
// Import tree definition only
const PineTree = require('@givengine/pine-tree').PineTree

// Instantiate an Pine tree
var myPineTree = new PineTree('chr1:1-100000000')
```