These are my solutions for the bioinformatical puzzles posted on rosalind.info. I have been writing most of these Python 2, but I might write some in R in the future.
Run the python scripts with python myscript.py
. In some scripts, a sample input is included in the script, e.g. a DNA sequence. In others, the input is read from a file (usually fasta or text). Likewise, the output of the script might be printed to the console or to a text file. You can get an appropriate dataset on the respective Rosalind problem page.
- DNA: Counting DNA nucleotides
- RNA: Transcribing DNA into RNA
- REVC: Complementing a Strand of DNA
- FIB: Rabbits and Recurrence Relations
- GC: Computing GC Content
- HAMM: Counting Point Mutations
- IPRB: Mendel's First Law
- PROT: Translating RNA into Protein
- SUBS: Finding a Motif in DNA
- LCSM: Finding a Shared Motif
- PERM: Enumerating Gene Orders
- PRTM: Calculating Protein Mass
- SPLC: RNA Splicing
- GRPH: Overlap Graphs
- ORF: Open Reading Frames
- TRAN: Transitions and Transversions
- MRNA: Inferring mRNA from Protein
- REVP: Locating Restriction Sites
- CONS: Consensus and Profile