Skip to content

Instantly share code, notes, and snippets.

[
{
"file_id": "MTBKS1-F1",
"format": "nrn:mimetype:application/x-cdf",
"project_id": "MTBKS1",
"download_url": "http%3A%2F%2Fmetabobank.riken.jp%2Fdata%2FRPMM0001%2FRawDataset%2FL_22_1.cdf",
"name": "RPMM0001 Raw Data File(GC-MS):L_22_1.cdf",
"description": "",
"file_format": "nrn:mimetype:application/x-cdf",
"filename": "RPMM0001 Raw Data File(GC-MS):L_22_1.cdf",
[
{
"project": "http://rdf.ddbj.nig.ac.jp/MTBKS1",
"project_id": "MTBKS1",
"project_label": "Unbiased characterization of genotype-dependent metabolic regulations by metabolomic approach in Arabidopsis thaliana",
"description": "Metabolites are not only the catalytic products of enzymatic reactions but also the active regulators or the ultimate phenotype of metabolic homeostasis in highly complex cellular processes. The modes of regulation at the metabolome level can be revealed by metabolic networks. We investigated the metabolic network between wild-type and 2 mutant (<i>methionine-over accumulation 1</i> [<i>mto1</i>] and <i>transparent testa4</i> [<i>tt4</i>]) plants regarding the alteration of metabolite accumulation in <i>Arabidopsis thaliana</i>. In the GC-TOF/MS analysis, we acquired quantitative information regarding over 170 metabolites, which has been analyzed by a novel score (ZMC, z-score of metabolite correlation) describing a characteristic metabolite in terms of correlation. Although t
@startuml DDBJ
skinparam componentStyle rectangle
node "[Status: Deleted]" as Deleted #lightpink {
(物理削除)
}
node "[Status: Canceled]" as Canceled #lightpink {
(論理削除)
@tfuji
tfuji / metabobank-json2json
Last active October 4, 2020 07:33
metabobank-json2json
#!/usr/bin/env ruby
require 'json'
require 'pp'
class MetabobankJsonConverter
def initialize file
@file = file
check_for_json_format
#!/usr/bin/env ruby
require 'json'
require 'pp'
# ruby metabobank-valdator.rb MBEditor_0.5.2_export_mb_mbcheck200914_MTBKS11.json
# See https://ddbj-dev.atlassian.net/browse/MB-88
class MetabobankValidator
def initialize file, options
{
"query": {
"bool": {
"must_not": {
"exists": {
"field": "group"
}
}
}
},
@tfuji
tfuji / ddbj-openapi-convert-2to3.yml
Created September 7, 2020 15:38
Converted the openapi specification from 2.0 to 3.0. https://ddbj.nig.ac.jp/api/apispec/ddbjapi.json
openapi: 3.0.0
info:
title: DDBJ Data Validation API
description: DDBJ Data Validation API
version: 0.9.0
paths:
/validation:
post:
tags:
- Validation
@tfuji
tfuji / json2ld-context.json
Last active December 24, 2019 02:48
togovar
{
"@context": [
"https://schema.org/docs/jsonldcontext.json",
{
"@vocab": "http://togovar.biosciencedbc.jp/ontology/",
"tgv": "http://togovar.biosciencedbc.jp/ontology/",
"dcterms": "http://purl.org/dc/terms/",
"m2r": "http://med2rdf.org/ontology/med2rdf",
"faldo": "http://biohackathon.org/resource/faldo#",
"obo": "http://purl.obolibrary.org/obo/",
@tfuji
tfuji / es_msearch_test.rb
Last active October 30, 2019 02:33
es_msearch_test.rb
#!/usr/bin/env ruby
require 'elasticsearch'
require 'json'
require 'pp'
begin
#client = Elasticsearch::Client.new({log: true, hosts: { host: 'localhost'}})
client = Elasticsearch::Client.new({hosts: { host: 'localhost', port: 9291 }})
q ='water'
from = 0
size = 20
#!/usr/bin/env ruby
#
# ruby load_sample.rb biosample/annotated_json dev
require 'elasticsearch'
require 'json'
require 'pp'
#client = Elasticsearch::Client.new({log: true, hosts: { host: 'localhost', user: 'user', password: 'password' }})
client = Elasticsearch::Client.new({log: true, hosts: { host: 'localhost'}})