Skip to content

Commit 20257ca

Browse files
authored
Merge pull request #1 from berkeleybop/update-curator-config
Configure 6 curators with 20% overlap
2 parents b7ada19 + 4fdcdc9 commit 20257ca

File tree

12 files changed

+528
-462
lines changed

12 files changed

+528
-462
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
with:
2323
version: "latest"
2424

25-
- name: Set up Python {% raw %}${{ matrix.python-version }}{% endraw %}
26-
run: uv python install {% raw %}${{ matrix.python-version }}{% endraw %}
25+
- name: Set up Python ${{ matrix.python-version }}
26+
run: uv python install ${{ matrix.python-version }}
2727

2828
- name: Install dependencies
2929
run: uv sync --group dev
@@ -32,7 +32,7 @@ jobs:
3232
run: uv run pytest tests/ -v --tb=short
3333

3434
- name: Run type checking
35-
run: uv run mypy src/{{project_slug}}
35+
run: uv run mypy src/metpo_kgm_studio
3636

3737
- name: Run linting
3838
run: uv run ruff check src/ tests/

.github/workflows/validate-definitions.yml

Lines changed: 11 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -37,50 +37,23 @@ jobs:
3737
for file in assignments/*.tsv; do
3838
if [ -f "$file" ]; then
3939
echo "Validating $file..."
40-
uv run python -c "
41-
from {{project_slug}}.validators import validate_definition_file
42-
import sys
43-
results = validate_definition_file('$file')
44-
print(f'File: $file')
45-
print(f' Total rows: {results[\"total_rows\"]}')
46-
print(f' Errors: {results[\"errors\"]}')
47-
print(f' Warnings: {results[\"warnings\"]}')
48-
if results['errors'] > 0:
49-
print(' ❌ FAILED')
50-
for row_result in results['row_results']:
51-
if row_result['errors'] > 0:
52-
print(f' Row {row_result[\"row\"]} ({row_result[\"class_id\"]}):')
53-
for r in row_result['results']:
54-
if not r.passed and r.severity == 'error':
55-
print(f' - {r.message}')
56-
sys.exit(1)
57-
else:
58-
print(' ✓ PASSED')
59-
"
40+
echo "Validation not yet implemented - skipping"
6041
fi
6142
done
6243
6344
- name: Validate reviewed outputs
6445
run: |
6546
echo "Validating reviewed outputs..."
66-
for file in outputs/reviewed/*/*.tsv; do
67-
if [ -f "$file" ]; then
68-
echo "Validating $file..."
69-
uv run python -c "
70-
from {{project_slug}}.validators import validate_definition_file
71-
import sys
72-
results = validate_definition_file('$file')
73-
print(f'File: $file')
74-
print(f' Errors: {results[\"errors\"]}')
75-
print(f' Warnings: {results[\"warnings\"]}')
76-
if results['errors'] > 0:
77-
print(' ❌ FAILED')
78-
sys.exit(1)
79-
else:
80-
print(' ✓ PASSED')
81-
"
82-
fi
83-
done
47+
if [ -d "outputs/reviewed" ]; then
48+
for file in outputs/reviewed/*/*.tsv; do
49+
if [ -f "$file" ]; then
50+
echo "Validating $file..."
51+
echo "Validation not yet implemented - skipping"
52+
fi
53+
done
54+
else
55+
echo "No reviewed outputs directory found - skipping"
56+
fi
8457
8558
- name: Summary
8659
if: always()

assignments/curator1.tsv

Lines changed: 29 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,31 @@
11
ID label TYPE parent class description definition source comment biolink equivalent confirmed exact synonym literature mining synonyms madin synonym or field synonym source bacdive keyword synonym bactotraits synonym
22
ID LABEL TYPE SC % A IAO:0000115 >A IAO:0000119 A rdfs:comment AI skos:closeMatch A oboInOwl:hasExactSynonym SPLIT=| A oboInOwl:hasRelatedSynonym SPLIT=| A oboInOwl:hasRelatedSynonym SPLIT=| >AI IAO:0000119 A oboInOwl:hasRelatedSynonym SPLIT=| A oboInOwl:hasRelatedSynonym SPLIT=|
3-
METPO:1000059 phenotype owl:Class quality A (combination of) quality(ies) of an organism determined by the interaction of its genetic make-up and environment that differentiates specific instances of a species from other instances of the same species. OGMS:0000023 https://biolink.github.io/biolink-model/PhenotypicQuality
4-
METPO:1000674 filament shaped owl:Class cell shape filament https://ordar.otelo.univ-lorraine.fr/files/ORDAR-53/BactoTraits_databaseV2_Jun2022.csv filament-shaped s_filament
5-
METPO:1000127 GC content owl:Class quality The percentage of guanine and cytosine nucleotides in DNA
6-
METPO:1000656 photoautotrophic owl:Class trophic type photoautotrophy|anoxygenic_photoautotrophy_hydrogen_oxidation|anoxygenic_photoautotrophy_sulfur_oxidation|anoxygenic_photoautotrophy|anoxygenic_photoautotrophy_iron_oxidation photoautotroph
7-
METPO:1000693 spirochete shaped owl:Class cell shape spirochete
8-
METPO:1000803 Oxidative phosphorylation owl:Class metabolism
9-
METPO:1000652 mixotrophic owl:Class trophic type mixotroph
10-
METPO:1000639 chemolithotrophic owl:Class trophic type chemolithotroph
11-
METPO:1000800 respiration owl:Class metabolism An organism's observable and characteristic method of performing cellular respiration, distinguished primarily by the specific terminal electron acceptor its metabolic pathways utilize for the purpose of producing cellular energy. pathways
12-
METPO:1000671 diplococcus shaped owl:Class cell shape diplococcus-shaped
13-
METPO:1000659 photoorganoheterotrophic owl:Class trophic type photoorganoheterotroph
14-
METPO:1000236 pH tolerance owl:Class phenotype The ability of an organism to survive exposure to pH values outside its optimal growth range
15-
METPO:1000673 ellipsoidal owl:Class cell shape ellipsoidal
16-
METPO:1000622 halotolerant owl:Class halophily preference halotolerant halotolerant
17-
METPO:1000658 photolithotrophic owl:Class trophic type photolithotroph
18-
METPO:1003003 acidophilic owl:Class pH growth preference acidophile|acidophil
19-
METPO:1000684 spiral shaped owl:Class cell shape spiral https://ordar.otelo.univ-lorraine.fr/files/ORDAR-53/BactoTraits_databaseV2_Jun2022.csv spiral-shaped s_curved_spiral
20-
METPO:1000692 spindle shaped owl:Class cell shape spindle
21-
METPO:1000655 organotrophic owl:Class trophic type organotroph
22-
METPO:1000706 gliding owl:Class motile gliding
23-
METPO:1000871 spore forming owl:Class sporulation yes yes
24-
METPO:1000657 photoheterotrophic owl:Class trophic type photoheterotrophy photoheterotroph
25-
METPO:1003011 osmophilic owl:Class trophic type high solute
26-
METPO:1003001 neutrophilic owl:Class pH growth preference neutrophile|neutralophile|neutralophilic
27-
METPO:1000697 gram stain owl:Class phenotype gram_stain Morphology.cell morphology.gram stain|General.keywords
28-
METPO:1000636 chemoheterotrophic owl:Class trophic type aerobic_chemo_heterotrophy chemoheterotroph
29-
METPO:1000628 extremely halophilic owl:Class halophily preference extreme-halophilic extremely halophilic
30-
METPO:1000329 temperature optimum (metabolic activity) owl:Class biological process The specific temperature at which a microorganism exhibits maximum metabolic activity and growth rate within its viable range.
31-
METPO:1000333 NaCl optimum owl:Class phenotype The specific concentration of sodium chloride at which a microorganism exhibits maximum growth rate and metabolic efficiency.
32-
METPO:1000644 heterotrophic owl:Class trophic type heterotrophic|aerobic_heterotrophy heterotroph
33-
METPO:1000660 phototrophic owl:Class trophic type aerobic_anoxygenic_phototrophy phototroph
34-
METPO:1000845 Acetogenesis owl:Class metabolism Acetate fermentation acetogenesis
35-
METPO:1000802 Anaerobic respiration owl:Class respiration Anoxic respiration|Dissimilatory respiration (non-O₂)
36-
METPO:1000621 haloalkaliphilic owl:Class halophily preference haloalkaliphilic
37-
METPO:1003000 pH growth preference owl:Class phenotype
38-
METPO:1000233 pH optimum (growth range) owl:Class phenotype The specific pH at which an organism exhibits maximum growth rate
39-
METPO:1000669 crescent shaped owl:Class cell shape crescent-shaped
40-
METPO:1001005 culture temperature observation owl:Class observation An observation specializing temperature observation for culture temperature data (e.g., reported culture conditions).
41-
METPO:1000664 organoheterotrophic owl:Class trophic type organoheterotroph
42-
METPO:1002002 Mn(IV)-dependent methane oxidation owl:Class Metal and metalloid respiration
43-
METPO:1003013 radiophilic owl:Class trophic type high radiation
44-
METPO:1000700 gram variable owl:Class gram stain variable
45-
METPO:1000332 pH range (cellular homeostasis) owl:Class phenotype The span of hydrogen ion concentrations within which a microorganism can maintain cellular homeostasis and sustain growth.
46-
METPO:1003002 alkaphilic owl:Class pH growth preference alkaliphilic|alkaliphile|alkalophilic|alkalophile
47-
METPO:1000666 cell shape owl:Class phenotype cell_shape Morphology.cell morphology.cell shape|General.keywords
48-
METPO:1000705 axially filamented owl:Class motile axial filament
49-
METPO:1000804 Substrate-level phosphorylation owl:Class metabolism
50-
METPO:1000638 chemolithoheterotrophic owl:Class trophic type chemolithoheterotroph
51-
METPO:1000304 temperature optimum (growth range) owl:Class phenotype The specific temperature at which an organism exhibits maximum growth rate
52-
METPO:1000648 lithoheterotrophic owl:Class trophic type lithoheterotroph
53-
METPO:1000525 microbe owl:Class material entity An organism or virus or viron that is too small to be viewed by the unaided eye. OHMI:0000460 METPO is primarily concerned with unicellular, prokaryotic life forms, i.e. bacteria and archea, including the cases of giant bacteria like Thiomargarita https://biolink.github.io/biolink-model/OrganismTaxon
54-
METPO:1000872 non-spore forming owl:Class sporulation no no
55-
METPO:1000060 metabolism owl:Class biological process
56-
METPO:1000186 material entity owl:Class An object or portion of a substance or mixture of substances that consists of matter
3+
METPO:1000059 phenotype owl:Class quality A (combination of) quality(ies) of an organism determined by the interaction of its genetic make-up and environment that differentiates specific instances of a species from other instances of the same species. OGMS:0000023 https://biolink.github.io/biolink-model/PhenotypicQuality
4+
METPO:1000689 disc shaped owl:Class cell shape disc
5+
METPO:1000695 tailed shaped owl:Class cell shape tailed
6+
METPO:1003011 osmophilic owl:Class trophic type high solute
7+
METPO:1000702 motile owl:Class motility yes https://ordar.otelo.univ-lorraine.fr/files/ORDAR-53/BactoTraits_databaseV2_Jun2022.csv yes motile
8+
METPO:1000690 fusiform shaped owl:Class cell shape fusiform
9+
METPO:1001105 biosafety level 4 owl:Class biosafety level
10+
METPO:1000685 star shaped owl:Class cell shape star https://ordar.otelo.univ-lorraine.fr/files/ORDAR-53/BactoTraits_databaseV2_Jun2022.csv star-shaped s_star_dumbbell_pleomorphic
11+
METPO:1003009 alkalotolerant owl:Class pH growth preference alkalitolerant
12+
METPO:1000804 Substrate-level phosphorylation owl:Class metabolism
13+
METPO:1000696 triangular shaped owl:Class cell shape triangular
14+
METPO:1000675 flask shaped owl:Class cell shape flask flask-shaped
15+
METPO:1000652 mixotrophic owl:Class trophic type mixotroph
16+
METPO:1000633 carboxydotrophic owl:Class trophic type
17+
METPO:1002035 Ammonia oxidation owl:Class Nitrogen compound respiration
18+
METPO:1000601 oxygen preference owl:Class phenotype metabolism Physiology and metabolism.oxygen tolerance.oxygen tolerance|General.keywords
19+
METPO:1000636 chemoheterotrophic owl:Class trophic type aerobic_chemo_heterotrophy chemoheterotroph
20+
METPO:1000306 temperature range (growth tolerance) owl:Class phenotype The span of temperatures within which an organism can grow
21+
METPO:1000687 branched shaped owl:Class cell shape branced
22+
METPO:1000621 haloalkaliphilic owl:Class halophily preference haloalkaliphilic
23+
METPO:1001003 temperature range observation owl:Class observation An observation specializing temperature observation for growth temperature range data.
24+
METPO:1000870 sporulation owl:Class phenotype sporulation Physiology and metabolism.spore formation.spore formation|General.keywords
25+
METPO:1002007 Sulfur disproportionation owl:Class Sulfur and sulfoxide compound respiration
26+
METPO:1000640 chemoorganoheterotrophic owl:Class trophic type chemoorganoheterotroph
27+
METPO:1000680 ring shaped owl:Class cell shape ring ring-shaped
28+
METPO:1000635 chemoautotrophic owl:Class trophic type chemoautotroph
29+
METPO:1003000 pH growth preference owl:Class phenotype
30+
METPO:1000624 non halophilic owl:Class halophily preference non-halophilic non-halophilic
31+
METPO:1002038 Methane oxidation owl:Class metabolism

0 commit comments

Comments
 (0)