From charlesreid1

No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Bioinformatics textbook track: http://rosalind.info/problems/list-view/?location=bioinformatics-textbook-track
Link to problems on Rosalind.info: http://rosalind.info/problems/list-view/?location=bioinformatics-textbook-track


=Chapter 1=
=Go=


* [[Rosalind/BA1A]] - Compute the Number of Times a Pattern Appears in a Text
See [[Go]] for general notes on the Go language.
* [[Rosalind/BA1B]] - Find the Most Frequent Words in a String
* [[Rosalind/BA1C]] - Find the Reverse Complement of a String
* [[Rosalind/BA1D]] - Find All Occurrences of a Pattern in a String
* [[Rosalind/BA1E]] - Find Patterns Forming Clumps in a String
* [[Rosalind/BA1F]] - Find a Position in a Genome Minimizing the Skew
* [[Rosalind/BA1G]] - Compute the Hamming Distance Between Two Strings
* [[Rosalind/BA1H]] - Find All Approximate Occurrences of a Pattern in a String
* [[Rosalind/BA1I]] - Find the Most Frequent Words with Mismatches in a String
* [[Rosalind/BA1J]] - Find Frequent Words with Mismatches and Reverse Complements
* [[Rosalind/BA1K]] - Generate the Frequency Array of a String
* [[Rosalind/BA1L]] - Implement PatternToNumber
* [[Rosalind/BA1M]] - Implement NumberToPattern
* [[Rosalind/BA1N]] - Generate the d-Neighborhood of a String


Example Go project organization: https://github.com/moul/euler


==How problems are organized==
To organize the Rosalind problems in a way that keeps them separated and modular but useful, we do the following:
* Each problem is identified on the website with the chapter (indexed by number) and problem from the chapter (indexed by letter)
* Code for problem P from chapter N will be in <code>baNP.go</code>
* Code to test the code for problem P and chapter N will be in <code>baNP_test.go</code>
* (LATER) The main method is used to run a command line interface to each of the problem solutions
To test all code for all problems, we simply run <code>go test</code>.
To run specific problems, we run <code>go run main</code> to run the main driver, and interact with the command line tool to run specific problems.
==Problems in Go==
* [[Rosalind/BA1A/Go]] -
=Flags=
{{RosalindFlag}}
{{GoFlag}}


[[Category:Bioinformatics]]
[[Category:Bioinformatics]]
[[Category:Rosalind]]
[[Category:Rosalind]]
[[Category:CS]]
[[Category:CS]]

Latest revision as of 05:15, 13 December 2018

Link to problems on Rosalind.info: http://rosalind.info/problems/list-view/?location=bioinformatics-textbook-track

Go

See Go for general notes on the Go language.

Example Go project organization: https://github.com/moul/euler

How problems are organized

To organize the Rosalind problems in a way that keeps them separated and modular but useful, we do the following:

  • Each problem is identified on the website with the chapter (indexed by number) and problem from the chapter (indexed by letter)
  • Code for problem P from chapter N will be in baNP.go
  • Code to test the code for problem P and chapter N will be in baNP_test.go
  • (LATER) The main method is used to run a command line interface to each of the problem solutions

To test all code for all problems, we simply run go test.

To run specific problems, we run go run main to run the main driver, and interact with the command line tool to run specific problems.

Problems in Go

Flags