Skip to content

kehrlinger/Rosalind_Project

Repository files navigation

Rosalind Project

Note: This repo was updated in 2026 with Hermes Agent to test AI-assisted repository maintenance. The original content and structure have been preserved.

Solutions to the Rosalind Python Village and Bioinformatics Stronghold exercises.

Exercises

Python Village (INI)

  • Rosalind_INI2.py — Pythagorean theorem. Reads two integers from stdin, prints a² + b².
  • Rosalind_INI3.py — String slices. Reads a string and four indices from file, prints two slices.
  • Rosalind_INI4.py — Sum of odds. Reads two integers from stdin, sums all odd numbers between them.
  • Rosalind_INI5.py — Even lines only. Reads a file (Rosalind_INI5_ExampleData.txt), writes even-numbered lines to Rosalind_INI5_Results.txt.
  • Rosalind_INI6.py — Word count. Reads Rosalind_INI6_ExampleData.txt, prints frequency of each space-separated word.

Scripts with stdin input (INI2, INI4) prompt interactively. INI3, INI5, and INI6 read from companion data files shipped with the repo.

Bioinformatics Stronghold (BISH)

  • Rosalind_BISH1.py — Counting DNA Nucleotides. Counts A, C, G, T in a hardcoded DNA string.
  • Rosalind_BISH2.py — Transcribing DNA into RNA. Replaces T with U in a hardcoded DNA string.
  • Rosalind_BISH3.py — Reverse complement. Computes the reverse complement (A↔T, C↔G) of a hardcoded DNA string using str.maketrans.
  • Rosalind_BISH4.py — Rabbits and Recurrence Relations. Interactive; reads number of generations and offspring-pair count from stdin, computes Fibonacci population size with parameterised growth rate.

License

MIT. See LICENSE.

About

My solutions to the Rosalind bioinformatics programming exercises — DNA/RNA sequence analysis, Python fundamentals, and dynamic programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages