Skip to content
Merged
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
4 changes: 2 additions & 2 deletions docs/src/rosalind/02-rna.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ As always, there are lots of ways you *could* do this.
This function won't hanndle poorly formatted sequences,
for example. Or rather, it will handle them, even though it shouldn't:

### Approach 2 - BioSequences `convert()`
### Approach 2 - BioSequences `LongRNA`

As you might expect, `BioSequences.jl` has a way to do this as well.
`BioSequences.jl` doesn't just use a `String` to represent sequences,
Expand All @@ -70,7 +70,7 @@ using BioSequences
dna_seq = LongDNA{2}(input_dna)


simple_transcribe(seq::LongDNA{N}) where N = convert(LongRNA{N}, seq)
simple_transcribe(seq::LongDNA{N}) where N = LongRNA{N}(seq)

rna_seq = simple_transcribe(dna_seq)
```
Expand Down
Loading