A repository for generally useful bioinformatics tools
Here, we consolidate scripts for commonly-used functions such as converting filetypes or calculating descriptive statistics.
- Fork the repository into your own Github account
- Clone your forked repository into a directory of choice and change into the cloned repository e.g.
cd ~/dev/bioutils - Install all binaries into
~/bin/:for file in */bin/*; do ln -s $file ~/bin/$(basename "${file%.*}"); done. Make sure that~/bin/is in your PATH, otherwise addexport PATH="$HOME/bin:$PATH"into your.bashrc.
- Ensure your repository is up to date:
git pull - Make and checkout a new feature branch:
git checkout -B "[branch_name]" - Add changed files to commit:
git add [path/to/files] - Commit files:
git commit -m "[Descriptive message about commit]" - Push commit to Github:
git push - Go to your forked github directory and branch https://github.com/[username]/bioutils on a browser
- Click on the green "Pull Request" button
- During code review, repeat steps 3-5 for requested changes
- When code review completes, the added commits will usually be squashed and merged to master
- Now you can safely delete the new feature branch and pull the squashed commit from the base repository