Skip to content

Instantly share code, notes, and snippets.

Avatar
😏
:godmode:

Ricardo ricardoaat

😏
:godmode:
View GitHub Profile
View deploy-unichem-portal.yml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: default-http-backend
namespace: unichem
spec:
replicas: 1
template:
metadata:
labels:
@ricardoaat
ricardoaat / Dockerfile
Last active Mar 19, 2019
Commands example docker
View Dockerfile
# Select original image
FROM python:3
# Labels
LABEL maintainer="arcila@ebi.ac.uk"
# Adding the file
ADD smallapp.py /opt/
# Commands to run once instanced
@ricardoaat
ricardoaat / dataset-example.json
Last active Sep 10, 2018
Bioschemas dataset implementation example
View dataset-example.json
{
"@context": [ "http://schema.org", "http://bioschemas.org/specifications/"],
"@type": "Dataset",
"@id": "http://www.uniprot.org/uniparc",
"name": "UniProt Archive (UniParc)",
"description": "The UniProt Archive (UniParc) is a comprehensive and non-redundant database that contains most of the publicly available protein sequences in the world. Proteins may exist in different source databases and in multiple copies in the same database. UniParc avoided such redundancy by storing each unique sequence only once and giving it a stable and unique identifier (UPI) making it possible to identify the same protein from different source databases. A UPI is never removed, changed or reassigned. UniParc contains only protein sequences. All other information about the protein must be retrieved from the source databases using the database cross-references. UniParc tracks sequence changes in the source databases and archives the history of all changes. UniParc has combined many databases into one at the
View metadata_fields.json
{
"schema": {
"@context": "http://schema.org",
"@type": "Dataset",
"description": "BioSamples stores and supplies descriptions and metadata about biological samples used in research and development by academia and industry. Samples are either 'reference' samples (e.g. from 1000 Genomes, HipSci, FAANG) or have been used in an assay database such as the European Nucleotide Archive (ENA) or ArrayExpress.",
"includedInDataCatalog": {
"@id": "https://www.ebi.ac.uk/biosamples",
"@type": "DataCatalog"
},
"name": "Sample collection",