Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions rosalind/07-iprb.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
+++
using Dates
date = Date("2026-02-18")
title = "Problem 7: Mendel's First Law"
rss_descr = "Solving Rosalind problem IPRB — computing the probability of dominant-allele offspring — using base Julia."
+++

# Mendel's First Law

🤔 [Problem link](https://rosalind.info/problems/iprb/)
Expand Down
9 changes: 8 additions & 1 deletion rosalind/08-prot.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
+++
using Dates
date = Date("2026-02-20")
title = "Problem 8: Translating RNA into Protein"
rss_descr = "Solving Rosalind problem PROT using base Julia."
+++

# Translating RNA into Protein

🤔 [Problem link](https://rosalind.info/problems/prot/)
Expand Down Expand Up @@ -204,4 +211,4 @@ Similar to our function, the BioSequences function also throws an error if the i

```julia
translate(rna"AUGGA")
```
```
7 changes: 7 additions & 0 deletions rosalind/09-subs.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
+++
using Dates
date = Date("2026-02-23")
title = "Problem 9: Finding a Motif in DNA"
rss_descr = "Solving Rosalind problem SUBS — finding all locations of a motif in a DNA string — using base Julia."
+++

# Finding a Motif in DNA

🤔 [Problem link](https://rosalind.info/problems/subs/)
Expand Down
7 changes: 6 additions & 1 deletion utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ end

function hfun_list_dir(args::Vector{String})
isempty(args) && return ""
return _render_posts(get_posts("", args[1]))
posts = get_posts("", args[1])
sort!(posts, by=p -> begin
m = match(r"/(\d+)[^/]*$", p.href)
m === nothing ? typemax(Int) : parse(Int, m.captures[1])
end)
return _render_posts(posts)
end

function hfun_list_series()
Expand Down
Loading