Skip to content

RNAcentral/rnacentral-genome-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNAcentral Genome Browser

This is an embeddable component to load igv.js. It was bootstrapped with Create React App.

How to use

Insert this html tag somewhere in your html and use the component's javascript package available on Github:

<rnacentral-genome-browser></rnacentral-genome-browser>
<script type="text/javascript" src="https://rnacentral.github.io/rnacentral-genome-browser/build/genome-browser.js"></script>

To load this component for a specific sequence, you need to pass the Unique RNA Sequence identifier (URS) and the Species-specific Id (NCBI taxid), for example:

<rnacentral-genome-browser data='{"urs": "URS0000650B1E", "taxid": "9606"}'></rnacentral-genome-browser>

Click here to see how you can find an RNAcentral identifier for an RNA sequence.

For a minimal example, see index.html.

Developer details

In the project directory, you can run:

craco start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.

craco build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

See the section about deployment for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published