Make sure you have node
, npm
, yarn
and polymer-cli
installed. Install
node
and npm
using your favorite tool. After that,
$ npm install -g polymer-cli
Install dependencies:
$ yarn
Copy Firebase config to firebase.config file.
Running the app:
$ yarn start
This guide contains information on available components and their props.
- label:
STRING
A label fot the component. - metaId:
STRING
ID of the metadata to be displayed. - allowEdit:
BOOLEAN
To control visibility of edit button. - showProtocol:
BOOLEAN
To control visibility of Protocol tab. - showData:
BOOLEAN
To control visibility of Data tab.
Note: All props are undefined
by default
<meta-base
allowEdit
showProtocol
label="GeneID"
metaId="068aae74-b733-487a-8b8b-48cc6d86113j"
>
<img src="../area_graph.png"/>
</meta-base>
- metaUrl:
STRING
URL to fetch meta data. - fieldPath:
STRING
Path of the field present in the response of metaUrl. The value obtained from the path is used to display extra information when hovered on info icon. - detailUrl:
STRING
The URL to redirect to when clicked on the info icon. - validate:
BOOLEAN
To specify if any validation is required.
Note: All props are undefined
by default
<uniprot-meta
validate
metaUrl="https://www.ebi.ac.uk/proteins/api/proteins/P04629"
fieldPath="protein.recommendedName.fullName.value"
detailUrl="http://www.ncbi.nlm.nih.gov/pubmed/1281417"
>
<input name="geneID" type="text" />
</uniprot-meta>
EDAM Oncology: https://bioportal.bioontology.org/ontologies/EDAM?p=classes&conceptid=topic_2640