WIP Piper node mode

I think this is working for both seqrun-level and sample-level analysis via sbatch files now but I haven't tested it yet so parts of it probably need some adjustments. I'm aware that parts of it are a little hacky (#fix later) but I'm open to suggestions for improvements as well!
Need to convert this to an int