Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creisle/lamprflp
JS module for calculating LAMP RFLP fragment lengths
https://github.com/creisle/lamprflp
bioinformatics javascript lamp nodejs npm
Last synced: 7 days ago
JSON representation
JS module for calculating LAMP RFLP fragment lengths
- Host: GitHub
- URL: https://github.com/creisle/lamprflp
- Owner: creisle
- License: mit
- Created: 2020-03-29T00:14:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T17:42:55.000Z (almost 2 years ago)
- Last Synced: 2023-08-19T06:10:29.705Z (about 1 year ago)
- Topics: bioinformatics, javascript, lamp, nodejs, npm
- Language: JavaScript
- Homepage:
- Size: 205 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LAMP RFLP
[![npm version](https://badge.fury.io/js/lamprflp.svg)](https://www.npmjs.com/package/lamprflp)
This is the JS module used by the site: http://creisle.github.io/creisle.lamprflp/
This computes the lamp products from a FASTA input file and outputs the fragments required
for the visual## Getting Started
Install from npm
```bash
npm install lamprflp
```then this can be used in a node module as follows
```js
const {createLampReaction} = require('lamprflp');const {lanes} = createLampReaction(`
> b1
cgactctagaggatccccgggtac
> b2
tgttgtgtggaattgtgagcggat
> f1
acaacgtcgtgactgggaaaaccct
> f2
gtgcgggcctcttcgctattac
> seq
AATGCTACTACTATTAGTAG...TATGATTTATTGGATGTT
`, ['100bp', '50bp', '', 'RsaI']);
```## Running the Tests
Tests are written with Jest and can be run as follows
```bash
npm test
```