My Solutions to Rosalind Stronghold problems using Python.
If these solutions help you, consider ⭐ starring the repo to support my journey!
Rosalind is a platform for learning bioinformatics and programming through problem solving.
- My Rosalind Profile
| ID | Title | Original Lesson | My Solution |
|---|---|---|---|
| DNA | Counting DNA Nucleotides | Lesson | Solution |
| RNA | Transcribing DNA into RNA | Lesson | Solution |
| REVC | Complementing a Strand of DNA | Lesson | Solution |
| FIB | Rabbits and Recurrence Relations | Lesson | Solution |
| GC | Computing GC Content | Lesson | Solution |
| HAMM | Counting Point Mutations | Lesson | |
| IPRB | Mendel's First Law | Lesson | Solution |
| PROT | Translating RNA into Protein | Lesson | Solution |
| SUBS | Finding a Motif in DNA | Lesson | Solution |
| FIBD | Mortal Fibonacci Rabbits | Lesson | |
| PERM | Enumerating Gene Orders | Lesson | |
| CONS | Consensus and Profile | Lesson | Solution |
| GRPH | Overlap Graphs | Lesson | Solution |
| IEV | Calculating Expected Offspring | Lesson | |
| LCSM | Finding a Shared Motif | Lesson | Solution |
| LIA | Independent Alleles | Lesson | |
| MPRT | Finding a Protein Motif | Lesson | Solution |
| MRNA | Inferring mRNA from Protein | Lesson | |
| ORF | Open Reading Frames | Lesson | |
| PRTM | Calculating Protein Mass | Lesson | |
| REVP | Locating Restriction Sites | Lesson | |
| SPLC | RNA Splicing | Lesson | |
| LEXF | Enumerating k-mers Lexicographically | Lesson | |
| LGIS | Longest Increasing Subsequence | Lesson | |
| LONG | Genome Assembly as Shortest Superstring | Lesson | |
| PMCH | Perfect Matchings and RNA Secondary Structures | Lesson | |
| PPER | Partial Permutations | Lesson | |
| PROB | Introduction to Random Strings | Lesson | |
| SIGN | Enumerating Oriented Gene Orderings | Lesson | |
| SSEQ | Finding a Spliced Motif | Lesson | |
| TRAN | Transitions and Transversions | Lesson | |
| TREE | Completing a Tree | Lesson | |
| CAT | Catalan Numbers and RNA Secondary Structures | Lesson | |
| CORR | Error Correction in Reads | Lesson | |
| INOD | Counting Phylogenetic Ancestors | Lesson | |
| KMER | k-Mer Composition | Lesson | |
| KMP | Speeding Up Motif Finding | Lesson | |
| LCSQ | Finding a Shared Spliced Motif | Lesson | |
| LEXV | Ordering Strings of Varying Length Lexicographically | Lesson | |
| MMCH | Maximum Matchings and RNA Secondary Structures | Lesson | |
| ORFR | Open Reading Frames (with Reverse Complements) | Lesson | |
| PDST | Creating a Distance Matrix | Lesson | |
| RSTR | Matching Random Motifs | Lesson | |
| SSET | Counting Subsets | Lesson | |
| ASPC | Introduction to Alternative Splicing | Lesson | |
| EDIT | Edit Distance | Lesson | |
| EVAL | Expected Number of Restriction Sites | Lesson | |
| MOTZ | Motzkin Numbers and RNA Secondary Structures | Lesson | |
| NWCK | Distances in Trees | Lesson | |
| SCSP | Interleaving Two Motifs | Lesson | |
| SEQS | Alignment-Based Phylogeny | Lesson | |
| SORT | Sorting by Reversals | Lesson | |
| SPEC | Inferring Protein from Spectrum | Lesson | |
| TRIE | Introduction to Pattern Matching | Lesson | |
| CONV | Comparing Spectra with the Spectral Convolution | Lesson | |
| FULL | Inferring Peptide from Full Spectrum | Lesson | |
| NKEW | Newick Format with Edge Weights | Lesson | |
| PRSM | Matching a Spectrum to a Protein | Lesson | |
| SMGB | Global Multiple Alignment | Lesson | |
| KSIM | Finding All Similar Motifs | Lesson | |
| RNAS | Wobble Bonding and RNA Secondary Structures | Lesson | |
| PDPL | Creating a Restriction Map | Lesson | |
| MREP | Identifying Maximal Repeats | Lesson | |
| GLOB | Global Alignment with Scoring Matrix | Lesson | |
| LREP | Finding the Longest Multiple Repeat | Lesson | |
| SIMS | Finding a Motif with Modifications | Lesson | |
| CTEA | Counting Optimal Alignments | Lesson | |
| CSET | Fixing an Inconsistent Character Set | Lesson | |
| LAFF | Local Alignment with Affine Gap Penalty | Lesson | |
| MEND | Inferring Genotype from a Pedigree | Lesson | |
| MGAP | Maximizing the Gap Symbols of an Optimal Alignment | Lesson | |
| MULT | Multiple Alignment | Lesson | |
| ITWV | Finding Disjoint Motifs in a Gene | Lesson | |
| PDBF | Protein Database | Lesson | |
| QRT | Quartets | Lesson | |
| SUFF | Inferring Peptide from Spectrum Graph | Lesson | |
| CHBP | Character-Based Phylogeny | Lesson | |
| CNTQ | Counting Quartets | Lesson | |
| EUBT | Enumerating Unrooted Binary Trees | Lesson | |
| GASM | Genome Assembly Using Reads | Lesson | |
| GCON | Global Alignment with Constant Gap Penalty | Lesson | |
| LING | Linguistic Complexity of a Genome | Lesson | |
| LOCA | Local Alignment with Scoring Matrix | Lesson | |
| MBLG | Maximum Balanced Subgraph | Lesson | |
| ARMT | Armchair Theorist | Lesson | |
| FOUN | The Founder Effect and Genetic Drift | Lesson | |
| IND | Independent Segregation of Chromosomes | Lesson | |
| QRTD | Quartet Distance | Lesson | |
| SPTD | Phylogeny Comparison with Split Distance | Lesson | |
| AFBD | Affine Burstiness Distance | Lesson | |
| DBRU | Constructing a De Bruijn Graph | Lesson |
To run these solutions:
-
Clone the repository:
git clone https://github.com/Cobos-Bioinfo/Rosalind-Solutions.git cd rosalind-solutions -
Install dependencies:
pip install -r requirements.txt
-
Run any solution:
python solutions/dna.py
While these are my personal solutions, feel free to:
- Suggest improvements or optimizations
- Report issues with any solutions
- Share alternative approaches
