From charlesreid1

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