bioinformatics-js
v1.3.2
Published
A comprehensive React library for bioinformatics visualization tools including DNA sequence viewers, annotation management, and more.
Downloads
9
Maintainers
Readme
bioinformatics-js
This package is currently just a dream. Reach out to me if you're interesting in open source bioinformatics.
www.linkedin.com/in/nateazevedo
Installation
npm install bioinformatics-jsUsage
import { DNASequenceViewer } from 'bioinformatics-js';
function App() {
return (
<DNASequenceViewer
sequence="ATCGATCGATCG"
annotations={[]}
/>
);
}Features
- DNA sequence visualization
- Annotation management
- Interactive genomics tools
- Built with React and D3.js
Local Testing
To test this package locally:
Method 1: Using npm pack (Recommended)
- Build and package:
npm run build
npm run test:local- In your test project:
npm install ../DNA\ Sequence\ Viewer/bioinformatics-js-*.tgzMethod 2: Using file protocol
- Build the package:
npm run build- In your test project:
npm install file:../DNA\ Sequence\ Viewer- Rebuild and reinstall after changes:
# In package directory
npm run build
# In test project
npm install file:../DNA\ Sequence\ Viewer --forceAutomated Publishing
This package automatically publishes to NPM on commits to master.
Setup:
- Get your NPM token:
npm token create - Add it to GitHub Secrets as
NPM_TOKEN - Commits to master will trigger automatic builds and publishing
Manual version bump:
npm version patch # or minor, major
git push origin master --tagsLicense
MIT
