VISIT https://github.com/cosmicexplorer/darwin for the current version
Track changes as a genome evolves over time (hence the name).
To build, run 'scons' in the root directory; the executable will be placed there when compilation finishes. Run 'scons --clean' to remove all build files.
Currently only builds on Linux or Mac OS X.
A full-featured version-control system (VCS) for biological parts. Formats standard genetic files (currently just fasta) to be processed extremely efficiently by a standard VCS (currently just git) and throws a CLI/GUI layer on top of it so an unskilled user doesn't need to worry about the underlying abstraction.
Add the repository to your PATH. This allows you to run the scripts 'darwin', 'dwndiff_helper', and 'dwndiff'. If you do not wish to add this to your PATH permanently, you can set it temporarily by running:
PATH=$PATH:<path-to-repo>
Setting up the repository in the first place is the difficult part. Future work will allow for easier setup. Currently, to begin a darwin repository, run:
darwin init git
Then, run
cd .dwn
From within this folder, one can run all the usual git commands: setting up a remote tracker, creating a server, etc. Further documentation can be found at http://git-scm.com/documentation and https://help.github.com/ .
Once the remote has been set up, though, the process is relatively simple. As with a standard git repository, you can run
darwin clone git <remote url>
This will clone the remote repository and all its files to your directory. For all fasta files in the repository, darwin will automatically unzip them from the intermediate format in the .dwn folder and palce them into the present working directory.
Typically, the workflow goes something like:
- Make changes to files.
- Run
darwin add <file>
. - When you've made enough changes, run
darwin commit <message>
. The message is required for every commit. - After running a commit, you can run
darwin status
ordarwin log
to check out what changes have been made to the repository. - When you are sure your efforts are complete, run
darwin push
to push back to the remote repository.
Unfortunately, the software is far from completion. However, most of its functionality can be done manually with knowledge of git and dwndiff. You can review the documentation for dwndiff by running
dwndiff --help