These are my recommendations for developing modular augur pathogen builds in per-pathogen repositories. They're based on my experience creating such a build using zika as an example while developing the Nextstrain base container and CLI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This gist I write, because I couldn't find any step by step instructions | |
| how to install and start postgresql locally (using conda within a conda environment - with the result | |
| that you can run it without sudo/admin rights on your machine!) | |
| and not globally in the operating system (which requires sudo/admin rights on that machine). | |
| I hope, this will help especially people new to postgresql | |
| (and those who don't have sudo/admin rights on a specific machine but want | |
| to run postgresql there)! | |
| Prerequisite is to have miniconda already installed in your Computer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import numpy.linalg | |
| # Relevant links: | |
| # - http://stackoverflow.com/a/32244818/263061 (solution with scale) | |
| # - "Least-Squares Rigid Motion Using SVD" (no scale but easy proofs and explains how weights could be added) | |
| # Rigidly (+scale) aligns two point clouds with know point-to-point correspondences | |
| # with least-squares error. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget --no-check-certificate --content-disposition https://github.com/joyent/node/tarball/v0.7.1 | |
| # --no-check-cerftificate was necessary for me to have wget not puke about https | |
| curl -LJO https://github.com/joyent/node/tarball/v0.7.1 |