moved arg parsing out of main() to make it easier to call main from other scripts
moved arg parsing out of main() to make it easier to call main from other scripts

smozaffari/WASP,smozaffari/WASP,smozaffari/WASP,bmvdgeijn/WASP,gmcvicker/WASP,gmcvicker/WASP,smozaffari/WASP,smozaffari/WASP,gmcvicker/WASP,bmvdgeijn/WASP,gmcvicker/WASP,bmvdgeijn/WASP,bmvdgeijn/WASP,TheFraserLab/Hornet