vault backup: 2025-12-13 20:40:03
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 2m5s
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 2m5s
This commit is contained in:
24
content/.obsidian/workspace.json
vendored
24
content/.obsidian/workspace.json
vendored
@@ -170,12 +170,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 1
|
"currentTab": 5
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 200,
|
"width": 429.5
|
||||||
"collapsed": true
|
|
||||||
},
|
},
|
||||||
"left-ribbon": {
|
"left-ribbon": {
|
||||||
"hiddenItems": {
|
"hiddenItems": {
|
||||||
@@ -188,20 +187,14 @@
|
|||||||
"obsidian42-brat:BRAT": false,
|
"obsidian42-brat:BRAT": false,
|
||||||
"agent-client:Open agent client": false,
|
"agent-client:Open agent client": false,
|
||||||
"graph:Open graph view": false,
|
"graph:Open graph view": false,
|
||||||
"templates:Insert template": false,
|
"templates:Insert template": false
|
||||||
"random-note:Open random note": false,
|
|
||||||
"tasknotes:Open mini calendar": false,
|
|
||||||
"tasknotes:Open advanced calendar": false,
|
|
||||||
"tasknotes:Open task list": false,
|
|
||||||
"tasknotes:Open agenda": false,
|
|
||||||
"tasknotes:Open kanban board": false,
|
|
||||||
"tasknotes:Open pomodoro": false,
|
|
||||||
"tasknotes:Open pomodoro stats": false,
|
|
||||||
"tasknotes:Create new task": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "4500546397a4e760",
|
"active": "f3646b47b9e138cd",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"Biokemi/Gamla tentor/tools/update_tags.py",
|
||||||
|
"Biokemi/Gamla tentor/tools/topic_mapping.tsv",
|
||||||
|
"Biokemi/Gamla tentor/tools",
|
||||||
"Biokemi/Gamla tentor/md_only.zip",
|
"Biokemi/Gamla tentor/md_only.zip",
|
||||||
"Biokemi/Gamla tentor.zip",
|
"Biokemi/Gamla tentor.zip",
|
||||||
"Biokemi/Metabolism/Biokemi ur ett evolutionsperspektiv/Provfrågor.md",
|
"Biokemi/Metabolism/Biokemi ur ett evolutionsperspektiv/Provfrågor.md",
|
||||||
@@ -235,10 +228,7 @@
|
|||||||
"Biokemi/Metabolism/🍭 Glukoneogenes/Slides.pdf.pdf",
|
"Biokemi/Metabolism/🍭 Glukoneogenes/Slides.pdf.pdf",
|
||||||
"Biokemi/Metabolism/🍖 Aminosyrametabolism/Slides.pdf.pdf",
|
"Biokemi/Metabolism/🍖 Aminosyrametabolism/Slides.pdf.pdf",
|
||||||
"Biokemi/Metabolism/Pentosfosfatvägen/Slides.pdf.pdf",
|
"Biokemi/Metabolism/Pentosfosfatvägen/Slides.pdf.pdf",
|
||||||
"Biokemi/Metabolism/🧂 Glykogen/Slides.pdf.pdf",
|
|
||||||
"attachments/Pasted image 20251129234842.png",
|
"attachments/Pasted image 20251129234842.png",
|
||||||
"Biokemi/Metabolism/Biokemi ur ett evolutionsperspektiv",
|
|
||||||
"Biokemi/Metabolism/🍕 β-oxidation/Slides.pdf.pdf",
|
|
||||||
"Untitled.canvas",
|
"Untitled.canvas",
|
||||||
"Biokemi/Metabolism/Diagram/Glycolysis_overview.svg",
|
"Biokemi/Metabolism/Diagram/Glycolysis_overview.svg",
|
||||||
"Biokemi/Metabolism/Diagram/TCA_cycle.svg",
|
"Biokemi/Metabolism/Diagram/TCA_cycle.svg",
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ date: 2021-12-16
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- glukosmetabolism
|
- glykolysen
|
||||||
|
- glukoneogenes
|
||||||
---
|
---
|
||||||
**I aerob katabolism kommer glukos att passera ett flertal steg innan det oxideras fullständigt. I vilken ordning kommer följande intermediärer: alfaketoglutarat, 3-fosfoglycerat, glyceraldehyd 3-fosfat, oxalacetat?**
|
**I aerob katabolism kommer glukos att passera ett flertal steg innan det oxideras fullständigt. I vilken ordning kommer följande intermediärer: alfaketoglutarat, 3-fosfoglycerat, glyceraldehyd 3-fosfat, oxalacetat?**
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ date: 2022-01-29
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- glukosmetabolism
|
- integrering-av-metabolismen
|
||||||
---
|
---
|
||||||
Redogör för hur enzymet fruktos 2,6-bisfosfatas/fosfofruktokinas 2 regleras och spelar en central roll i glukosmetabolismen. Max 150 ord. (2p)
|
Redogör för hur enzymet fruktos 2,6-bisfosfatas/fosfofruktokinas 2 regleras och spelar en central roll i glukosmetabolismen. Max 150 ord. (2p)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ date: 2022-12-19
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- glukosmetabolism
|
- glykolysen
|
||||||
|
- glukoneogenes
|
||||||
---
|
---
|
||||||
Det pyruvat som bildas vid anaerob glykolys behöver metaboliseras vidare.
|
Det pyruvat som bildas vid anaerob glykolys behöver metaboliseras vidare.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ date: 2022-12-19
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- glukosmetabolism
|
- glykolysen
|
||||||
|
- glukoneogenes
|
||||||
---
|
---
|
||||||
**Vilka faktorer är viktiga för regleringen av fosfofruktokinas 2/fruktos 2,6-bisfosfatas?**
|
**Vilka faktorer är viktiga för regleringen av fosfofruktokinas 2/fruktos 2,6-bisfosfatas?**
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ date: 2024-01-27
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- dna-replikation
|
- kromatin
|
||||||
---
|
---
|
||||||
**Uppgift**
|
**Uppgift**
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ date: 2024-01-27
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- kromatin
|
- dna-replikation
|
||||||
---
|
---
|
||||||
**Uppgift**
|
**Uppgift**
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ date: 2024-05-15
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- glukosmetabolism
|
- glykolysen
|
||||||
---
|
---
|
||||||
**Uppgift**
|
**Uppgift**
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ date: 2024-08-01
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- glukosmetabolism
|
- kolhydrater
|
||||||
---
|
---
|
||||||
**Uppgift**
|
**Uppgift**
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ date: 2024-12-20
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- kromatin
|
- dna-replikation
|
||||||
---
|
---
|
||||||
|
|
||||||
**Uppgift**
|
**Uppgift**
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ date: 2025-02-01
|
|||||||
tags:
|
tags:
|
||||||
- biokemi
|
- biokemi
|
||||||
- provfråga
|
- provfråga
|
||||||
- glukosmetabolism
|
- glykolysen
|
||||||
---
|
---
|
||||||
**Uppgift**
|
**Uppgift**
|
||||||
Redogör för hur glukosmetabolismen regleras på hormonell nivå. (4p) Max 150 ord.
|
Redogör för hur glukosmetabolismen regleras på hormonell nivå. (4p) Max 150 ord.
|
||||||
|
|||||||
389
content/Biokemi/Gamla tentor/tools/topic_mapping.tsv
Normal file
389
content/Biokemi/Gamla tentor/tools/topic_mapping.tsv
Normal file
@@ -0,0 +1,389 @@
|
|||||||
|
2021-12-16 01 Kolhydrater
|
||||||
|
2021-12-16 02 Lipider
|
||||||
|
2021-12-16 03 Aminosyror och proteiner
|
||||||
|
2021-12-16 04 Elektrontransportkedjan
|
||||||
|
2021-12-16 05 Nukleotider
|
||||||
|
2021-12-16 06 Hemoglobin och myoglobin
|
||||||
|
2021-12-16 07 Evolutionsperspektiv
|
||||||
|
2021-12-16 08 Att utforska proteiner
|
||||||
|
2021-12-16 09 DNA-replikation
|
||||||
|
2021-12-16 10 DNA-replikation
|
||||||
|
2021-12-16 11 Kromatin
|
||||||
|
2021-12-16 12 RNA-syntes
|
||||||
|
2021-12-16 13 Prokaryot genreglering
|
||||||
|
2021-12-16 14 Rekombinant DNA-teknik
|
||||||
|
2021-12-16 15 DNA-replikation
|
||||||
|
2021-12-16 16 Translation
|
||||||
|
2021-12-16 17 Termodynamik
|
||||||
|
2021-12-16 18 Nukleotider
|
||||||
|
2021-12-16 19 Enzymer
|
||||||
|
2021-12-16 20 Glykolys
|
||||||
|
2021-12-16 21 Integrering av metabolismen
|
||||||
|
2021-12-16 22 Integrering av metabolismen
|
||||||
|
2021-12-16 23 Elektrontransportkedjan
|
||||||
|
2021-12-16 24 Glykolys/Glukoneogenes
|
||||||
|
2021-12-16 25 Glykogenmetabolism
|
||||||
|
2021-12-16 26 Betaoxidation och fettsyrasyntes
|
||||||
|
2021-12-16 27 Kolesterolomsättning
|
||||||
|
2021-12-16 28 Aminosyrametabolism
|
||||||
|
2021-12-16 29 Pentosfosfatvägen
|
||||||
|
2021-12-16 30 Nukleotidnedbrytning
|
||||||
|
2021-12-16 31 Hemmetabolism
|
||||||
|
2021-12-16 32 Cellmembranets struktur
|
||||||
|
2021-12-16 33 Membrantransport
|
||||||
|
2021-12-16 34 Plasmidlab
|
||||||
|
2021-12-16 35 Introduktionslab
|
||||||
|
2022-01-29 01 Kolhydrater
|
||||||
|
2022-01-29 02 Lipider
|
||||||
|
2022-01-29 03 Aminosyror och proteiner
|
||||||
|
2022-01-29 04 Hemoglobin och myoglobin
|
||||||
|
2022-01-29 05 Att utforska proteiner
|
||||||
|
2022-01-29 06 Lipider
|
||||||
|
2022-01-29 07 Nukleotider
|
||||||
|
2022-01-29 08 Kolhydrater
|
||||||
|
2022-01-29 09 DNA-replikation
|
||||||
|
2022-01-29 10 Rekombinant DNA-teknik
|
||||||
|
2022-01-29 11 RNA-syntes
|
||||||
|
2022-01-29 12 RNA-syntes
|
||||||
|
2022-01-29 13 Prokaryot genreglering
|
||||||
|
2022-01-29 14 Translation
|
||||||
|
2022-01-29 15 Evolutionsperspektiv
|
||||||
|
2022-01-29 16 Cellmembranets struktur
|
||||||
|
2022-01-29 17 Membrantransport
|
||||||
|
2022-01-29 18 Termodynamik
|
||||||
|
2022-01-29 19 Enzymer
|
||||||
|
2022-01-29 20 Enzymer
|
||||||
|
2022-01-29 21 Betaoxidation och fettsyrasyntes
|
||||||
|
2022-01-29 22 Integrering av metabolismen
|
||||||
|
2022-01-29 23 Integrering av metabolismen
|
||||||
|
2022-01-29 24 Glykolys/Glukoneogenes
|
||||||
|
2022-01-29 25 Glykolys/Glukoneogenes
|
||||||
|
2022-01-29 26 Glykogenmetabolism
|
||||||
|
2022-01-29 27 Citronsyracykeln
|
||||||
|
2022-01-29 28 Elektrontransportkedjan
|
||||||
|
2022-01-29 29 Aminosyrametabolism
|
||||||
|
2022-01-29 30 Nukleotidnedbrytning
|
||||||
|
2022-01-29 31 Pentosfosfatvägen
|
||||||
|
2022-01-29 32 Kolesterolomsättning
|
||||||
|
2022-01-29 33 Plasmidlab
|
||||||
|
2022-01-29 34 Introduktionslab
|
||||||
|
2022-01-29 35 Introduktionslab
|
||||||
|
2022-05-16 01 Kolhydrater
|
||||||
|
2022-05-16 02 Lipider
|
||||||
|
2022-05-16 03 Aminosyror och proteiner
|
||||||
|
2022-05-16 04 Hemoglobin och myoglobin
|
||||||
|
2022-05-16 05 Att utforska proteiner
|
||||||
|
2022-05-16 06 Lipider
|
||||||
|
2022-05-16 07 Nukleotider
|
||||||
|
2022-05-16 08 Kolhydrater
|
||||||
|
2022-05-16 09 DNA-replikation
|
||||||
|
2022-05-16 10 Rekombinant DNA-teknik
|
||||||
|
2022-05-16 11 RNA-syntes
|
||||||
|
2022-05-16 12 RNA-syntes
|
||||||
|
2022-05-16 13 Prokaryot genreglering
|
||||||
|
2022-05-16 14 Translation
|
||||||
|
2022-05-16 15 Evolutionsperspektiv
|
||||||
|
2022-05-16 16 Cellmembranets struktur
|
||||||
|
2022-05-16 17 Membrantransport
|
||||||
|
2022-05-16 18 Termodynamik
|
||||||
|
2022-05-16 19 Enzymer
|
||||||
|
2022-05-16 20 Enzymer
|
||||||
|
2022-05-16 21 Betaoxidation och fettsyrasyntes
|
||||||
|
2022-05-16 22 Integrering av metabolismen
|
||||||
|
2022-05-16 23 Integrering av metabolismen
|
||||||
|
2022-05-16 24 Glykolys/Glukoneogenes
|
||||||
|
2022-05-16 25 Glykolys/Glukoneogenes
|
||||||
|
2022-05-16 26 Glykogenmetabolism
|
||||||
|
2022-05-16 27 Citronsyracykeln
|
||||||
|
2022-05-16 28 Elektrontransportkedjan
|
||||||
|
2022-05-16 29 Aminosyrametabolism
|
||||||
|
2022-05-16 30 Nukleotidnedbrytning
|
||||||
|
2022-05-16 31 Pentosfosfatvägen
|
||||||
|
2022-05-16 32 Kolesterolomsättning
|
||||||
|
2022-05-16 33 Plasmidlab
|
||||||
|
2022-05-16 34 Introduktionslab
|
||||||
|
2022-05-16 35 Introduktionslab
|
||||||
|
2022-12-19 01 Kolhydrater
|
||||||
|
2022-12-19 02 Lipider
|
||||||
|
2022-12-19 03 Aminosyror och proteiner
|
||||||
|
2022-12-19 04 Hemoglobin och myoglobin
|
||||||
|
2022-12-19 05 Att utforska proteiner
|
||||||
|
2022-12-19 06 Lipider
|
||||||
|
2022-12-19 07 Nukleotider
|
||||||
|
2022-12-19 08 Kolhydrater
|
||||||
|
2022-12-19 09 DNA-replikation
|
||||||
|
2022-12-19 10 Rekombinant DNA-teknik
|
||||||
|
2022-12-19 11 RNA-syntes
|
||||||
|
2022-12-19 12 RNA-syntes
|
||||||
|
2022-12-19 13 RNA-syntes
|
||||||
|
2022-12-19 14 Translation
|
||||||
|
2022-12-19 15 Evolutionsperspektiv
|
||||||
|
2022-12-19 16 Cellmembranets struktur
|
||||||
|
2022-12-19 17 Membrantransport
|
||||||
|
2022-12-19 18 Termodynamik
|
||||||
|
2022-12-19 19 Enzymer
|
||||||
|
2022-12-19 20 Hemmetabolism
|
||||||
|
2022-12-19 21 Betaoxidation och fettsyrasyntes
|
||||||
|
2022-12-19 22 Enzymer
|
||||||
|
2022-12-19 23 Integrering av metabolismen
|
||||||
|
2022-12-19 24 Glykolys/Glukoneogenes
|
||||||
|
2022-12-19 25 Glykolys/Glukoneogenes
|
||||||
|
2022-12-19 26 Glykogenmetabolism
|
||||||
|
2022-12-19 27 Citronsyracykeln
|
||||||
|
2022-12-19 28 Elektrontransportkedjan
|
||||||
|
2022-12-19 29 Kolesterolomsättning
|
||||||
|
2022-12-19 30 Aminosyrametabolism
|
||||||
|
2022-12-19 31 Nukleotidnedbrytning
|
||||||
|
2022-12-19 32 Pentosfosfatvägen
|
||||||
|
2022-12-19 33 Kolesterolomsättning
|
||||||
|
2022-12-19 34 Plasmidlab
|
||||||
|
2022-12-19 35 Introduktionslab
|
||||||
|
2023-05-15 01 Kolhydrater
|
||||||
|
2023-05-15 02 Lipider
|
||||||
|
2023-05-15 03 Aminosyror och proteiner
|
||||||
|
2023-05-15 04 Hemoglobin och myoglobin
|
||||||
|
2023-05-15 05 Att utforska proteiner
|
||||||
|
2023-05-15 06 Lipider
|
||||||
|
2023-05-15 07 Nukleotider
|
||||||
|
2023-05-15 08 Kolhydrater
|
||||||
|
2023-05-15 09 DNA-replikation
|
||||||
|
2023-05-15 10 DNA-replikation
|
||||||
|
2023-05-15 11 RNA-syntes
|
||||||
|
2023-05-15 12 RNA-syntes
|
||||||
|
2023-05-15 13 Prokaryot genreglering
|
||||||
|
2023-05-15 14 Translation
|
||||||
|
2023-05-15 15 Evolutionsperspektiv
|
||||||
|
2023-05-15 16 Cellmembranets struktur
|
||||||
|
2023-05-15 17 Membrantransport
|
||||||
|
2023-05-15 18 Termodynamik
|
||||||
|
2023-05-15 19 Enzymer
|
||||||
|
2023-05-15 20 Enzymer
|
||||||
|
2023-05-15 21 Introduktion till metabolismen
|
||||||
|
2023-05-15 22 Glykolys
|
||||||
|
2023-05-15 23 Glukoneogenes
|
||||||
|
2023-05-15 24 Glykogenmetabolism
|
||||||
|
2023-05-15 25 Citronsyracykeln
|
||||||
|
2023-05-15 26 Betaoxidation och fettsyrasyntes
|
||||||
|
2023-05-15 27 Elektrontransportkedjan
|
||||||
|
2023-05-15 28 Aminosyrametabolism
|
||||||
|
2023-05-15 29 Nukleotidnedbrytning
|
||||||
|
2023-05-15 30 Pentosfosfatvägen
|
||||||
|
2023-05-15 31 Kolesterolomsättning
|
||||||
|
2023-05-15 32 Hemmetabolism
|
||||||
|
2023-05-15 33 Introduktionslab
|
||||||
|
2023-05-15 34 Introduktionslab
|
||||||
|
2023-05-15 35 Plasmidlab
|
||||||
|
2023-12-18 01 Kolhydrater
|
||||||
|
2023-12-18 02 Lipider
|
||||||
|
2023-12-18 03 Aminosyror och proteiner
|
||||||
|
2023-12-18 04 Hemoglobin och myoglobin
|
||||||
|
2023-12-18 05 Att utforska proteiner
|
||||||
|
2023-12-18 06 Lipider
|
||||||
|
2023-12-18 07 Nukleotider
|
||||||
|
2023-12-18 08 Kolhydrater
|
||||||
|
2023-12-18 09 DNA-replikation
|
||||||
|
2023-12-18 10 DNA-replikation
|
||||||
|
2023-12-18 11 RNA-syntes
|
||||||
|
2023-12-18 12 RNA-syntes
|
||||||
|
2023-12-18 13 Prokaryot genreglering
|
||||||
|
2023-12-18 14 Translation
|
||||||
|
2023-12-18 15 Evolutionsperspektiv
|
||||||
|
2023-12-18 16 Cellmembranets struktur
|
||||||
|
2023-12-18 17 Membrantransport
|
||||||
|
2023-12-18 18 Termodynamik
|
||||||
|
2023-12-18 19 Enzymer
|
||||||
|
2023-12-18 20 Enzymer
|
||||||
|
2023-12-18 21 Introduktion till metabolismen
|
||||||
|
2023-12-18 22 Glykolys
|
||||||
|
2023-12-18 23 Glukoneogenes
|
||||||
|
2023-12-18 24 Glykogenmetabolism
|
||||||
|
2023-12-18 25 Citronsyracykeln
|
||||||
|
2023-12-18 26 Betaoxidation och fettsyrasyntes
|
||||||
|
2023-12-18 27 Elektrontransportkedjan
|
||||||
|
2023-12-18 28 Aminosyrametabolism
|
||||||
|
2023-12-18 29 Pentosfosfatvägen
|
||||||
|
2023-12-18 30 Kolesterolomsättning
|
||||||
|
2023-12-18 31 Aminosyrametabolism
|
||||||
|
2023-12-18 32 Nukleotidnedbrytning
|
||||||
|
2023-12-18 33 Pentosfosfatvägen
|
||||||
|
2023-12-18 34 Kolesterolomsättning
|
||||||
|
2023-12-18 35 Introduktionslab
|
||||||
|
2023-12-18 36 Plasmidlab
|
||||||
|
2024-01-27 01 Kolhydrater
|
||||||
|
2024-01-27 02 Lipider
|
||||||
|
2024-01-27 03 Aminosyror och proteiner
|
||||||
|
2024-01-27 04 Hemoglobin och myoglobin
|
||||||
|
2024-01-27 05 Att utforska proteiner
|
||||||
|
2024-01-27 06 Lipider
|
||||||
|
2024-01-27 07 Nukleotider
|
||||||
|
2024-01-27 08 Kolhydrater
|
||||||
|
2024-01-27 09 DNA-replikation
|
||||||
|
2024-01-27 10 DNA-replikation
|
||||||
|
2024-01-27 11 Kromatin
|
||||||
|
2024-01-27 12 RNA-syntes
|
||||||
|
2024-01-27 13 Prokaryot genreglering
|
||||||
|
2024-01-27 14 Translation
|
||||||
|
2024-01-27 15 Evolutionsperspektiv
|
||||||
|
2024-01-27 16 Cellmembranets struktur
|
||||||
|
2024-01-27 17 Membrantransport
|
||||||
|
2024-01-27 18 Termodynamik
|
||||||
|
2024-01-27 19 Enzymer
|
||||||
|
2024-01-27 20 Enzymer
|
||||||
|
2024-01-27 21 Introduktion till metabolismen
|
||||||
|
2024-01-27 22 Glykolys
|
||||||
|
2024-01-27 23 Glykolys
|
||||||
|
2024-01-27 24 Integrering av metabolismen
|
||||||
|
2024-01-27 25 Glukoneogenes
|
||||||
|
2024-01-27 26 Glykogenmetabolism
|
||||||
|
2024-01-27 27 Citronsyracykeln
|
||||||
|
2024-01-27 28 Betaoxidation och fettsyrasyntes
|
||||||
|
2024-01-27 29 Elektrontransportkedjan
|
||||||
|
2024-01-27 30 Aminosyrametabolism
|
||||||
|
2024-01-27 31 Pentosfosfatvägen
|
||||||
|
2024-01-27 32 Kolesterolomsättning
|
||||||
|
2024-01-27 33 Hemmetabolism
|
||||||
|
2024-01-27 34 Introduktionslab
|
||||||
|
2024-01-27 35 Introduktionslab
|
||||||
|
2024-01-27 36 Plasmidlab
|
||||||
|
2024-05-15 01 Kolhydrater
|
||||||
|
2024-05-15 02 Lipider
|
||||||
|
2024-05-15 03 Aminosyror och proteiner
|
||||||
|
2024-05-15 04 Hemoglobin och myoglobin
|
||||||
|
2024-05-15 05 Att utforska proteiner
|
||||||
|
2024-05-15 06 Lipider
|
||||||
|
2024-05-15 07 Nukleotider
|
||||||
|
2024-05-15 08 Kolhydrater
|
||||||
|
2024-05-15 09 DNA-replikation
|
||||||
|
2024-05-15 10 DNA-replikation
|
||||||
|
2024-05-15 11 Kromatin
|
||||||
|
2024-05-15 12 RNA-syntes
|
||||||
|
2024-05-15 13 Prokaryot genreglering
|
||||||
|
2024-05-15 14 Translation
|
||||||
|
2024-05-15 15 Evolutionsperspektiv
|
||||||
|
2024-05-15 16 Cellmembranets struktur
|
||||||
|
2024-05-15 17 Membrantransport
|
||||||
|
2024-05-15 18 Termodynamik
|
||||||
|
2024-05-15 19 Enzymer
|
||||||
|
2024-05-15 20 Enzymer
|
||||||
|
2024-05-15 21 Introduktion till metabolismen
|
||||||
|
2024-05-15 22 Glykolys
|
||||||
|
2024-05-15 23 Glykolys
|
||||||
|
2024-05-15 24 Glukoneogenes
|
||||||
|
2024-05-15 25 Glykogenmetabolism
|
||||||
|
2024-05-15 26 Citronsyracykeln
|
||||||
|
2024-05-15 27 Betaoxidation och fettsyrasyntes
|
||||||
|
2024-05-15 28 Elektrontransportkedjan
|
||||||
|
2024-05-15 29 Aminosyrametabolism
|
||||||
|
2024-05-15 30 Nukleotidnedbrytning
|
||||||
|
2024-05-15 31 Pentosfosfatvägen
|
||||||
|
2024-05-15 32 Kolesterolomsättning
|
||||||
|
2024-05-15 33 Hemmetabolism
|
||||||
|
2024-05-15 34 Introduktionslab
|
||||||
|
2024-05-15 35 Plasmidlab
|
||||||
|
2024-08-01 01 Kolhydrater
|
||||||
|
2024-08-01 02 Lipider
|
||||||
|
2024-08-01 03 Aminosyror och proteiner
|
||||||
|
2024-08-01 04 Hemoglobin och myoglobin
|
||||||
|
2024-08-01 05 Att utforska proteiner
|
||||||
|
2024-08-01 06 Lipider
|
||||||
|
2024-08-01 07 Nukleotider
|
||||||
|
2024-08-01 08 Kolhydrater
|
||||||
|
2024-08-01 09 DNA-replikation
|
||||||
|
2024-08-01 10 DNA-replikation
|
||||||
|
2024-08-01 11 Kromatin
|
||||||
|
2024-08-01 12 RNA-syntes
|
||||||
|
2024-08-01 13 Prokaryot genreglering
|
||||||
|
2024-08-01 14 Translation
|
||||||
|
2024-08-01 15 Evolutionsperspektiv
|
||||||
|
2024-08-01 16 Cellmembranets struktur
|
||||||
|
2024-08-01 17 Membrantransport
|
||||||
|
2024-08-01 18 Termodynamik
|
||||||
|
2024-08-01 19 Enzymer
|
||||||
|
2024-08-01 20 Enzymer
|
||||||
|
2024-08-01 21 Introduktion till metabolismen
|
||||||
|
2024-08-01 22 Glykolys
|
||||||
|
2024-08-01 23 Glukoneogenes
|
||||||
|
2024-08-01 24 Glykogenmetabolism
|
||||||
|
2024-08-01 25 Citronsyracykeln
|
||||||
|
2024-08-01 26 Betaoxidation och fettsyrasyntes
|
||||||
|
2024-08-01 27 Glukoneogenes
|
||||||
|
2024-08-01 28 Elektrontransportkedjan
|
||||||
|
2024-08-01 29 Aminosyrametabolism
|
||||||
|
2024-08-01 30 Nukleotidnedbrytning
|
||||||
|
2024-08-01 31 Pentosfosfatvägen
|
||||||
|
2024-08-01 32 Kolesterolomsättning
|
||||||
|
2024-08-01 33 Hemmetabolism
|
||||||
|
2024-08-01 34 Introduktionslab
|
||||||
|
2024-08-01 35 Plasmidlab
|
||||||
|
2024-12-20 01 Kolhydrater
|
||||||
|
2024-12-20 02 Lipider
|
||||||
|
2024-12-20 03 Aminosyror och proteiner
|
||||||
|
2024-12-20 04 Hemoglobin och myoglobin
|
||||||
|
2024-12-20 05 Att utforska proteiner
|
||||||
|
2024-12-20 06 Lipider
|
||||||
|
2024-12-20 07 Nukleotider
|
||||||
|
2024-12-20 08 Kolhydrater
|
||||||
|
2024-12-20 09 DNA-replikation
|
||||||
|
2024-12-20 10 RNA-syntes
|
||||||
|
2024-12-20 11 Prokaryot genreglering
|
||||||
|
2024-12-20 12 Translation
|
||||||
|
2024-12-20 13 Evolutionsperspektiv
|
||||||
|
2024-12-20 14 Cellmembranets struktur
|
||||||
|
2024-12-20 15 Membrantransport
|
||||||
|
2024-12-20 16 Termodynamik
|
||||||
|
2024-12-20 17 Enzymer
|
||||||
|
2024-12-20 18 Enzymer
|
||||||
|
2024-12-20 19 Introduktion till metabolismen
|
||||||
|
2024-12-20 20 Glykolys
|
||||||
|
2024-12-20 21 Glykolys
|
||||||
|
2024-12-20 22 Glukoneogenes
|
||||||
|
2024-12-20 23 Glykogenmetabolism
|
||||||
|
2024-12-20 24 Citronsyracykeln
|
||||||
|
2024-12-20 25 Betaoxidation och fettsyrasyntes
|
||||||
|
2024-12-20 26 Aminosyrametabolism
|
||||||
|
2024-12-20 27 Nukleotidnedbrytning
|
||||||
|
2024-12-20 28 Pentosfosfatvägen
|
||||||
|
2024-12-20 29 Kolesterolomsättning
|
||||||
|
2024-12-20 30 Hemmetabolism
|
||||||
|
2024-12-20 31 Introduktionslab
|
||||||
|
2024-12-20 32 Introduktionslab
|
||||||
|
2024-12-20 33 Introduktionslab
|
||||||
|
2024-12-20 34 Introduktionslab
|
||||||
|
2024-12-20 35 Introduktionslab
|
||||||
|
2024-12-20 36 Plasmidlab
|
||||||
|
2025-02-01 01 Kolhydrater
|
||||||
|
2025-02-01 02 Lipider
|
||||||
|
2025-02-01 03 Aminosyror och proteiner
|
||||||
|
2025-02-01 04 Hemoglobin och myoglobin
|
||||||
|
2025-02-01 05 Att utforska proteiner
|
||||||
|
2025-02-01 06 Lipider
|
||||||
|
2025-02-01 07 Nukleotider
|
||||||
|
2025-02-01 08 Kolhydrater
|
||||||
|
2025-02-01 09 DNA-replikation
|
||||||
|
2025-02-01 10 Rekombinant DNA-teknik
|
||||||
|
2025-02-01 11 Kromatin
|
||||||
|
2025-02-01 12 RNA-syntes
|
||||||
|
2025-02-01 13 Prokaryot genreglering
|
||||||
|
2025-02-01 14 Translation
|
||||||
|
2025-02-01 15 Evolutionsperspektiv
|
||||||
|
2025-02-01 16 Cellmembranets struktur
|
||||||
|
2025-02-01 17 Membrantransport
|
||||||
|
2025-02-01 18 Termodynamik
|
||||||
|
2025-02-01 19 Enzymer
|
||||||
|
2025-02-01 20 Enzymer
|
||||||
|
2025-02-01 21 Introduktion till metabolismen
|
||||||
|
2025-02-01 22 Glykolys
|
||||||
|
2025-02-01 23 Glykolys
|
||||||
|
2025-02-01 24 Glukoneogenes
|
||||||
|
2025-02-01 25 Glykogenmetabolism
|
||||||
|
2025-02-01 26 Citronsyracykeln
|
||||||
|
2025-02-01 27 Betaoxidation och fettsyrasyntes
|
||||||
|
2025-02-01 28 Elektrontransportkedjan
|
||||||
|
2025-02-01 29 Aminosyrametabolism
|
||||||
|
2025-02-01 30 Nukleotidnedbrytning
|
||||||
|
2025-02-01 31 Pentosfosfatvägen
|
||||||
|
2025-02-01 32 Kolesterolomsättning
|
||||||
|
2025-02-01 33 Hemmetabolism
|
||||||
|
2025-02-01 34 Plasmidlab
|
||||||
|
2025-02-01 35 Introduktionslab
|
||||||
|
|
||||||
|
212
content/Biokemi/Gamla tentor/tools/update_tags.py
Normal file
212
content/Biokemi/Gamla tentor/tools/update_tags.py
Normal file
@@ -0,0 +1,212 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import re
|
||||||
|
import unicodedata
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
# Map human-readable topics to tag slugs used in the vault
|
||||||
|
TOPIC_TO_TAG = {
|
||||||
|
"Kolhydrater": ["kolhydrater"],
|
||||||
|
"Lipider": ["lipider"],
|
||||||
|
"Aminosyror och proteiner": ["från-aminosyror-till-proteiner"],
|
||||||
|
"Hemoglobin och myoglobin": ["hemoglobin"],
|
||||||
|
"Att utforska proteiner": ["utforska-proteiner"],
|
||||||
|
"Nukleotider": ["nukleotider"],
|
||||||
|
"Kromatin": ["kromatin"],
|
||||||
|
"DNA-replikation": ["dna-replikation"],
|
||||||
|
"RNA-syntes": ["rna-syntes"],
|
||||||
|
"Rekombinant DNA-teknik": ["rekombinant-dna-teknik"],
|
||||||
|
"Prokaryot genreglering": ["kontroll-av-genuttryck-i-prokaryoter"],
|
||||||
|
"Translation": ["translation"],
|
||||||
|
"Evolutionsperspektiv": ["evolution"],
|
||||||
|
"Cellmembranets struktur": ["cellmembran"],
|
||||||
|
"Membrantransport": ["transport-över-cellmembran"],
|
||||||
|
"Termodynamik": ["termodynamik"],
|
||||||
|
"Enzymer": ["enzymer"],
|
||||||
|
"Introduktion till metabolismen": ["introduktion-till-metabolismen"],
|
||||||
|
"Integrering av metabolismen": ["integrering-av-metabolismen"],
|
||||||
|
"Glykolys": ["glykolysen"],
|
||||||
|
"Glukoneogenes": ["glukoneogenes"],
|
||||||
|
"Glykogenmetabolism": ["glykogen"],
|
||||||
|
"Citronsyracykeln": ["citronsyracykeln"],
|
||||||
|
"Betaoxidation och fettsyrasyntes": ["betaoxidation"],
|
||||||
|
"Elektrontransportkedjan": ["elektrontransportkedjan"],
|
||||||
|
"Aminosyrametabolism": ["aminosyrametabolism"],
|
||||||
|
"Nukleotidnedbrytning": ["nukleotidnedbrytning"],
|
||||||
|
"Pentosfosfatvägen": ["pentosfosfatvägen"],
|
||||||
|
"Kolesterolomsättning": ["kolesterol"],
|
||||||
|
"Hemmetabolism": ["heme"],
|
||||||
|
"Plasmidlab": ["plasmid"],
|
||||||
|
"Introduktionslab": ["introduktionslaboration"],
|
||||||
|
}
|
||||||
|
|
||||||
|
# Cases where a single slot covers two topics
|
||||||
|
COMPOSITE_TOPICS = {
|
||||||
|
"Glykolys/Glukoneogenes": TOPIC_TO_TAG["Glykolys"] + TOPIC_TO_TAG["Glukoneogenes"],
|
||||||
|
}
|
||||||
|
|
||||||
|
# Build case-insensitive lookup tables
|
||||||
|
CANON_TOPICS = {k.lower(): v for k, v in TOPIC_TO_TAG.items()}
|
||||||
|
CANON_COMPOSITES = {k.lower(): v for k, v in COMPOSITE_TOPICS.items()}
|
||||||
|
|
||||||
|
KNOWN_TOPIC_TAGS = set(tag for tags in TOPIC_TO_TAG.values() for tag in tags)
|
||||||
|
KNOWN_TOPIC_TAGS |= set(tag for tags in COMPOSITE_TOPICS.values() for tag in tags)
|
||||||
|
# Include historical/nearby variants we want to replace
|
||||||
|
KNOWN_TOPIC_TAGS |= {
|
||||||
|
"glukosmetabolism", # previous catch-all for glykolys/glukoneogenes
|
||||||
|
"hemmetabolism", # if present, normalize to 'heme'
|
||||||
|
}
|
||||||
|
|
||||||
|
GAMLA_TENTOR = Path(__file__).resolve().parents[2] # .../Biokemi/Gamla tentor
|
||||||
|
MAPPING_FILE = Path(__file__).with_name("topic_mapping.tsv")
|
||||||
|
|
||||||
|
|
||||||
|
def load_mapping():
|
||||||
|
mapping = {} # (date, number) -> list[tag]
|
||||||
|
with MAPPING_FILE.open("r", encoding="utf-8") as f:
|
||||||
|
for raw in f:
|
||||||
|
line = raw.strip()
|
||||||
|
if not line:
|
||||||
|
continue
|
||||||
|
parts = re.split(r"\s+", line, maxsplit=2)
|
||||||
|
if len(parts) != 3:
|
||||||
|
continue
|
||||||
|
date, num, topic = parts
|
||||||
|
topic = topic.strip()
|
||||||
|
# Normalize unicode and whitespace quirks
|
||||||
|
topic = unicodedata.normalize("NFKC", topic.replace("\u00A0", " "))
|
||||||
|
topic_key = topic.lower()
|
||||||
|
key = (date, num.zfill(2))
|
||||||
|
if topic_key in CANON_COMPOSITES:
|
||||||
|
tags = CANON_COMPOSITES[topic_key]
|
||||||
|
else:
|
||||||
|
tags = CANON_TOPICS.get(topic_key)
|
||||||
|
if not tags:
|
||||||
|
raise ValueError(f"Unknown topic '{topic}' in mapping for {date} {num}")
|
||||||
|
mapping[key] = tags
|
||||||
|
return mapping
|
||||||
|
|
||||||
|
|
||||||
|
FRONTMATTER_BOUNDARY = re.compile(r"^---\s*$")
|
||||||
|
|
||||||
|
|
||||||
|
def parse_frontmatter(lines):
|
||||||
|
if not lines or not FRONTMATTER_BOUNDARY.match(lines[0]):
|
||||||
|
return None, None, None # no frontmatter
|
||||||
|
# find second '---'
|
||||||
|
for i in range(1, len(lines)):
|
||||||
|
if FRONTMATTER_BOUNDARY.match(lines[i]):
|
||||||
|
return 0, i, lines[0 : i + 1]
|
||||||
|
return None, None, None
|
||||||
|
|
||||||
|
|
||||||
|
def extract_tags_block(fm_lines):
|
||||||
|
start, end = None, None
|
||||||
|
for i, line in enumerate(fm_lines):
|
||||||
|
if line.startswith("tags:"):
|
||||||
|
start = i
|
||||||
|
# read following indented list items
|
||||||
|
j = i + 1
|
||||||
|
while j < len(fm_lines) and fm_lines[j].startswith(" - "):
|
||||||
|
j += 1
|
||||||
|
end = j
|
||||||
|
break
|
||||||
|
return start, end
|
||||||
|
|
||||||
|
|
||||||
|
def read_existing_tags(fm_lines):
|
||||||
|
start, end = extract_tags_block(fm_lines)
|
||||||
|
if start is None:
|
||||||
|
return []
|
||||||
|
tags = []
|
||||||
|
for line in fm_lines[start + 1 : end]:
|
||||||
|
tag = line.strip()[2:].strip()
|
||||||
|
if tag:
|
||||||
|
tags.append(tag)
|
||||||
|
return tags
|
||||||
|
|
||||||
|
|
||||||
|
def write_tags_block(fm_lines, new_tags):
|
||||||
|
start, end = extract_tags_block(fm_lines)
|
||||||
|
block = ["tags:\n"] + [f" - {t}\n" for t in new_tags]
|
||||||
|
if start is None:
|
||||||
|
# insert after 'date:' if present, else after opening '---'
|
||||||
|
insert_at = 1
|
||||||
|
for i, line in enumerate(fm_lines):
|
||||||
|
if line.startswith("date:"):
|
||||||
|
insert_at = i + 1
|
||||||
|
break
|
||||||
|
fm_lines[insert_at:insert_at] = block
|
||||||
|
else:
|
||||||
|
fm_lines[start:end] = block
|
||||||
|
|
||||||
|
|
||||||
|
def update_file(path: Path, required_topic_tags):
|
||||||
|
with path.open("r", encoding="utf-8") as f:
|
||||||
|
lines = f.readlines()
|
||||||
|
|
||||||
|
fm_start, fm_end, fm_block = parse_frontmatter(lines)
|
||||||
|
if fm_block is None:
|
||||||
|
# add minimal frontmatter if missing
|
||||||
|
fm_lines = ["---\n", "tags:\n"] + [f" - {t}\n" for t in ("biokemi", "provfråga", *required_topic_tags)] + ["---\n"]
|
||||||
|
new_lines = fm_lines + lines
|
||||||
|
with path.open("w", encoding="utf-8") as f:
|
||||||
|
f.writelines(new_lines)
|
||||||
|
return True
|
||||||
|
|
||||||
|
fm_lines = lines[fm_start + 1 : fm_end] # exclude the '---' lines
|
||||||
|
|
||||||
|
existing = read_existing_tags(fm_lines)
|
||||||
|
# keep non-topic tags except make sure base tags are present
|
||||||
|
base = ["biokemi", "provfråga"]
|
||||||
|
kept = [t for t in existing if t not in KNOWN_TOPIC_TAGS and t not in base]
|
||||||
|
# assemble final tag list
|
||||||
|
final = []
|
||||||
|
for t in base:
|
||||||
|
if t not in final:
|
||||||
|
final.append(t)
|
||||||
|
for t in required_topic_tags:
|
||||||
|
if t not in final:
|
||||||
|
final.append(t)
|
||||||
|
for t in kept:
|
||||||
|
if t not in final:
|
||||||
|
final.append(t)
|
||||||
|
|
||||||
|
before = existing
|
||||||
|
if set(before) == set(final):
|
||||||
|
return False # no change
|
||||||
|
|
||||||
|
write_tags_block(fm_lines, final)
|
||||||
|
# rebuild lines
|
||||||
|
new_lines = ["---\n"] + fm_lines + ["---\n"] + lines[fm_end + 1 :]
|
||||||
|
with path.open("w", encoding="utf-8") as f:
|
||||||
|
f.writelines(new_lines)
|
||||||
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
mapping = load_mapping()
|
||||||
|
changed = 0
|
||||||
|
missing = []
|
||||||
|
for date_dir in sorted(p for p in GAMLA_TENTOR.iterdir() if p.is_dir() and p.name[0].isdigit()):
|
||||||
|
date = date_dir.name
|
||||||
|
for md in sorted(date_dir.glob("*.md")):
|
||||||
|
stem = md.stem
|
||||||
|
if not stem.isdigit():
|
||||||
|
continue
|
||||||
|
num = stem.zfill(2)
|
||||||
|
key = (date, num)
|
||||||
|
tags = mapping.get(key)
|
||||||
|
if not tags:
|
||||||
|
missing.append(str(md))
|
||||||
|
continue
|
||||||
|
if update_file(md, tags):
|
||||||
|
changed += 1
|
||||||
|
print(f"Updated {changed} files")
|
||||||
|
if missing:
|
||||||
|
print("No mapping for:")
|
||||||
|
for m in missing:
|
||||||
|
print(" ", m)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
Reference in New Issue
Block a user