diff --git a/_layouts/ontology_detail.html b/_layouts/ontology_detail.html index 8bdc6d2f3..b6a1f7f7b 100644 --- a/_layouts/ontology_detail.html +++ b/_layouts/ontology_detail.html @@ -70,7 +70,33 @@

OLS - + {% assign bioportal_id = page.id | upcase %} + {% if bioportal_id == 'FBBT' %} + {% assign bioportal_id = 'FB-BT' %} + {% elsif bioportal_id == 'ro' %} + {% assign bioportal_id = 'OBOREL' %} + {% elsif bioportal_id == 'apollo_sv' %} + {% assign bioportal_id = 'APOLLO-SV' %} + {% elsif bioportal_id == 'trans' %} + {% assign bioportal_id = 'PTRANS' %} + {% elsif bioportal_id == 'wbls' %} + {% assign bioportal_id = 'WB-LS' %} + {% elsif bioportal_id == 'fbdv' %} + {% assign bioportal_id = 'FB-DV' %} + {% elsif bioportal_id == 'wbbt' %} + {% assign bioportal_id = 'WB-BT' %} + {% elsif bioportal_id == 'wbphenotype' %} + {% assign bioportal_id = 'WB-PHENOTYPE' %} + {% elsif bioportal_id == 'to' %} + {% assign bioportal_id = 'PTO' %} + {% elsif bioportal_id == 'fbcv' %} + {% assign bioportal_id = 'FB-CV' %} + {% elsif bioportal_id == 'umod' %} + {% assign bioportal_id = 'PSIMOD' %} + {% elsif bioportal_id == 'pso' %} + {% assign bioportal_id = 'PLANTSO' %} + {% endif %} + BioPortal {% for b in page.browsers %} diff --git a/_plugins/bioportal_identifier.rb b/_plugins/bioportal_identifier.rb deleted file mode 100644 index 7c37d23e9..000000000 --- a/_plugins/bioportal_identifier.rb +++ /dev/null @@ -1,28 +0,0 @@ -module CustomFilter - def make_bioportal_id(obo_id) - return obo_id unless obo_id.is_a?(String) - - # ID requirements should be locked down moving forward, so additions to this table - # should be rare - special_cases = { - 'fbbt' => 'FB-BT', - 'ro' => 'OBOREL', - 'apollo_sv' => 'APOLLO-SV', - 'trans' => 'PTRANS', - 'wbls' => 'WB-LS', - 'fbdv' => 'FB-DV', - 'wbbt' => 'WB-BT', - 'wbphenotype' => 'WB-PHENOTYPE', - 'to' => 'PTO', - 'fbcv' => 'FB-CV', - 'mod' => 'PSIMOD', - 'pso' => 'PLANTSO' - } - - return special_cases[obo_id] if special_cases.key? obo_id - - obo_id == obo_id.downcase ? obo_id.upcase : obo_id - end -end - -Liquid::Template.register_filter(CustomFilter) diff --git a/ontology/bfo.md b/ontology/bfo.md index c7b91decc..b12eae316 100644 --- a/ontology/bfo.md +++ b/ontology/bfo.md @@ -2,10 +2,6 @@ layout: ontology_detail id: bfo title: Basic Formal Ontology -browsers: -- title: BioPortal Browser - label: BioPortal - url: http://bioportal.bioontology.org/ontologies/BFO?p=classes contact: email: phismith@buffalo.edu github: phismith diff --git a/ontology/fbbt.md b/ontology/fbbt.md index edca1dd0d..b7b29fcac 100644 --- a/ontology/fbbt.md +++ b/ontology/fbbt.md @@ -9,9 +9,6 @@ browsers: - title: Virtual Fly Brain label: VFB url: http://www.virtualflybrain.org/site/stacks/index.htm?add=FBbt:00007401 -- title: BioPortal Browser - label: BioPortal - url: http://bioportal.bioontology.org/ontologies/FB-BT?p=classes build: checkout: git clone https://github.com/FlyBase/drosophila-anatomy-developmental-ontology.git path: . diff --git a/ontology/kisao.md b/ontology/kisao.md index ada4f660f..ad8cf30e3 100644 --- a/ontology/kisao.md +++ b/ontology/kisao.md @@ -6,9 +6,6 @@ browsers: - title: Ontology Lookup Service label: OLS url: https://www.ebi.ac.uk/ols/ontologies/kisao -- title: BioPortal - label: BioPortal - url: https://bioportal.bioontology.org/ontologies/KISAO - title: OntoBee label: OntoBee url: https://www.ontobee.org/ontology/KISAO diff --git a/ontology/nbo.md b/ontology/nbo.md index e1b5b337b..29bffeb17 100644 --- a/ontology/nbo.md +++ b/ontology/nbo.md @@ -2,10 +2,6 @@ layout: ontology_detail id: nbo title: Neuro Behavior Ontology -browsers: -- title: BioPortal Ontology Browser - label: BioPortal - url: https://bioportal.bioontology.org/ontologies/NBO build: method: owl2obo source_url: https://raw.githubusercontent.com/obo-behavior/behavior-ontology/master/nbo.owl diff --git a/ontology/obi.md b/ontology/obi.md index 9fb6670e0..bc231225a 100644 --- a/ontology/obi.md +++ b/ontology/obi.md @@ -2,10 +2,6 @@ layout: ontology_detail id: obi title: Ontology for Biomedical Investigations -browsers: -- title: BioPortal Browser - label: BioPortal - url: http://bioportal.bioontology.org/ontologies/OBI?p=classes build: source_url: http://purl.obofoundry.org/obo/obi/repository/trunk/src/ontology/branches/ contact: diff --git a/ontology/occo.md b/ontology/occo.md index f39e6ea66..b9f21e07f 100644 --- a/ontology/occo.md +++ b/ontology/occo.md @@ -2,10 +2,6 @@ layout: ontology_detail id: occo title: Occupation Ontology -browsers: -- title: BioPortal Ontology Browser - label: BioPortal - url: https://bioportal.bioontology.org/ontologies/OCCO?p=classes contact: email: zhengj2007@gmail.com github: zhengj2007 diff --git a/ontology/ontoneo.md b/ontology/ontoneo.md index ca25ceb76..16b23544b 100644 --- a/ontology/ontoneo.md +++ b/ontology/ontoneo.md @@ -2,10 +2,6 @@ layout: ontology_detail id: ontoneo title: Obstetric and Neonatal Ontology -browsers: -- title: BioPortal Browser - label: BioPortal - url: https://bioportal.bioontology.org/ontologies/ONTONEO build: source_url: http://purl.obolibrary.org/obo/ontoneo/ontoneo.owl contact: diff --git a/ontology/pato.md b/ontology/pato.md index f4e9ed12b..70b1e6f5a 100644 --- a/ontology/pato.md +++ b/ontology/pato.md @@ -2,10 +2,6 @@ layout: ontology_detail id: pato title: Phenotype And Trait Ontology -browsers: -- title: BioPortal Ontology Browser - label: BioPortal - url: https://bioportal.bioontology.org/ontologies/PATO contact: email: g.gkoutos@gmail.com github: gkoutos diff --git a/ontology/pr.md b/ontology/pr.md index ea1b08642..4233c216b 100644 --- a/ontology/pr.md +++ b/ontology/pr.md @@ -3,9 +3,6 @@ layout: ontology_detail id: pr title: PRotein Ontology (PRO) browsers: -- title: BioPortal Browser - label: BioPortal - url: http://bioportal.bioontology.org/ontologies/PR?p=classes&conceptid=http://purl.obolibrary.org/obo/PR_000000001 - title: PRO Home label: PRO url: http://proconsortium.org diff --git a/ontology/slso.md b/ontology/slso.md index bc4e1d9fa..53936d903 100644 --- a/ontology/slso.md +++ b/ontology/slso.md @@ -2,10 +2,6 @@ layout: ontology_detail id: slso title: Space Life Sciences Ontology -browsers: -- title: BioPortal Ontology Browser - label: BioPortal - url: https://bioportal.bioontology.org/ontologies/SLSO contact: email: daniel.c.berrios@nasa.gov github: DanBerrios diff --git a/ontology/txpo.md b/ontology/txpo.md index 3f778e300..c1f4bdad1 100644 --- a/ontology/txpo.md +++ b/ontology/txpo.md @@ -3,9 +3,6 @@ layout: ontology_detail id: txpo title: Toxic Process Ontology browsers: -- title: BioPortal Browser - label: BioPortal - url: http://bioportal.bioontology.org/ontologies/TXPO?p=classes - title: TOXPILOT label: TOXPILOT url: https://toxpilot.nibiohn.go.jp/