/Bioinformatics_Textbook_Track

:rocket: Solutions for the Bioinformatics Textbook Track Problems from Rosalind

Primary LanguagePython

Rosalind Bioinformatics Stronghold

🚀 Solutions for the Bioinformatics Textbook Track Problems from Rosalind

  1. Compute the Number of Times a Pattern Appears in a Text
  2. Find the Most Frequent Words in a String
  3. Find the Reverse Complement of a String
  4. Find All Occurrences of a Pattern in a String
  5. Find Patterns Forming Clumps in a String
  6. Find a Position in a Genome Minimizing the Skew
  7. Compute the Hamming Distance Between Two Strings
  8. Find All Approximate Occurrences of a Pattern in a String
  9. Find the Most Frequent Words with Mismatches in a String
  10. Find Frequent Words with Mismatches and Reverse Complements
  11. Generate the Frequency Array of a String
  12. Implement PatternToNumber
  13. Implement NumberToPattern
  14. Generate the d-Neighborhood of a String
  15. Implement MotifEnumeration
  16. Find a Median String
  17. Find a Profile-most Probable k-mer in a StringFind a Profile-most Probable k-mer in a String
  18. Implement GreedyMotifSearch
  19. Implement GreedyMotifSearch with Pseudocounts
  20. Implement RandomizedMotifSearch
  21. Implement GibbsSampler
  22. Implement DistanceBetweenPatternAndStrings
  23. Generate the k-mer Composition of a String
  24. Reconstruct a String from its Genome Path
  25. Construct the Overlap Graph of a Collection of k-mers
  26. Construct the De Bruijn Graph of a String
  27. Construct the De Bruijn Graph of a Collection of k-mers
  28. Find an Eulerian Cycle in a Graph
  29. Find an Eulerian Path in a Graph
  30. Reconstruct a String from its k-mer Composition
  31. Find a k-Universal Circular String
  32. Reconstruct a String from its Paired Composition
  33. Generate Contigs from a Collection of Reads
  34. Construct a String Spelled by a Gapped Genome Path
  35. Generate All Maximal Non-Branching Paths in a Graph
  36. Translate an RNA String into an Amino Acid String
  37. Find Substrings of a Genome Encoding a Given Amino Acid String
  38. Generate the Theoretical Spectrum of a Cyclic Peptide
  39. Compute the Number of Peptides of Given Total Mass
  40. Find a Cyclic Peptide with Theoretical Spectrum Matching an Ideal Spectrum
  41. Compute the Score of a Cyclic Peptide Against a Spectrum
  42. Implement LeaderboardCyclopeptideSequencing
  43. Generate the Convolution of a Spectrum
  44. Implement ConvolutionCyclopeptideSequencing
  45. Generate the Theoretical Spectrum of a Linear Peptide
  46. Compute the Score of a Linear Peptide
  47. Trim a Peptide Leaderboard
  48. Solve the Turnpike Problem
  49. Find the Minimum Number of Coins Needed to Make Change
  50. Find the Length of a Longest Path in a Manhattan-like Grid
  51. Find a Longest Common Subsequence of Two Strings
  52. Find the Longest Path in a DAG
  53. Find a Highest-Scoring Alignment of Two Strings
  54. Find a Highest-Scoring Local Alignment of Two Strings
  55. Compute the Edit Distance Between Two Strings
  56. Find a Highest-Scoring Fitting Alignment of Two Strings
  57. Find a Highest-Scoring Overlap Alignment of Two Strings
  58. Align Two Strings Using Affine Gap Penalties
  59. Find a Middle Edge in an Alignment Graph in Linear Space
  60. Align Two Strings Using Linear Space
  61. Find a Highest-Scoring Multiple Sequence Alignment
  62. Find a Topological Ordering of a DAG
  63. Implement GreedySorting to Sort a Permutation by Reversals
  64. Compute the Number of Breakpoints in a Permutation
  65. Compute the 2-Break Distance Between a Pair of Genomes
  66. Find a Shortest Transformation of One Genome into Another by 2-Breaks
  67. Find All Shared k-mers of a Pair of Strings
  68. Implement ChromosomeToCycle
  69. Implement CycleToChromosome
  70. Implement ColoredEdges
  71. Implement GraphToGenome
  72. Implement 2-BreakOnGenomeGraph
  73. Implement 2-BreakOnGenome
  74. Compute Distances Between Leaves
  75. Compute Limb Lengths in a Tree
  76. Implement AdditivePhylogeny
  77. Implement UPGMA
  78. Implement the Neighbor Joining Algorithm
  79. Implement SmallParsimony
  80. Adapt SmallParsimony to Unrooted Trees
  81. Implement FarthestFirstTraversal
  82. Compute the Squared Error Distortion
  83. Implement the Lloyd Algorithm for k-Means Clustering
  84. Implement the Soft k-Means Clustering Algorithm
  85. Implement Hierarchical Clustering
  86. Construct a Trie from a Collection of Patterns
  87. Implement TrieMatching
  88. Construct the Suffix Tree of a String
  89. Find the Longest Repeat in a String
  90. Find the Longest Substring Shared by Two Strings
  91. Find the Shortest Non-Shared Substring of Two Strings
  92. Construct the Suffix Array of a String
  93. Pattern Matching with the Suffix Array
  94. Construct the Burrows-Wheeler Transform of a String
  95. Reconstruct a String from its Burrows-Wheeler Transform
  96. Generate the Last-to-First Mapping of a String
  97. Implement BWMatching
  98. Implement BetterBWMatching
  99. Find All Occurrences of a Collection of Patterns in a String
  100. Find All Approximate Occurrences of a Collection of Patterns in a String
  101. Implement TreeColoring
  102. Construct the Partial Suffix Array of a String
  103. Construct a Suffix Tree from a Suffix Array
  104. Compute the Probability of a Hidden Path
  105. Compute the Probability of an Outcome Given a Hidden Path
  106. Implement the Viterbi Algorithm
  107. Compute the Probability of a String Emitted by an HMM
  108. Construct a Profile HMM
  109. Construct a Profile HMM with Pseudocounts
  110. Perform a Multiple Sequence Alignment with a Profile HMM
  111. Estimate the Parameters of an HMM
  112. Implement Viterbi Learning
  113. Solve the Soft Decoding Problem
  114. Implement Baum-Welch Learning
  115. Construct the Graph of a Spectrum
  116. Implement DecodingIdealSpectrum
  117. Convert a Peptide into a Peptide Vector
  118. Convert a Peptide Vector into a Peptide
  119. Sequence a Peptide
  120. Find a Highest-Scoring Peptide in a Proteome against a Spectrum
  121. Implement PSMSearch
  122. Compute the Size of a Spectral Dictionary
  123. Compute the Probability of a Spectral Dictionary
  124. Find a Highest-Scoring Modified Peptide against a Spectrum