Get sequencing node from UPPMAX id
ewels opened this issue · comments
Currently, the NGI sequencing node is retrieved from the ngi_reports
config file. This is all well and good except for the fact that both Stockholm and Uppsala NGI nodes use the funk
account to do processing and reports. As such, they both use the same user with the same config file.
I think it's good to keep this in the config file and use it, as it's more fail safe. However, if it's not present in the config file we can try to guess the sequencing node from the UPPMAX project ID found in the piper XML file: run['metadata']['uppmaxprojectid']
This wasn't possible as both uppsala and stockholm use the same uppmax project so it's always the same. Instead, I got Mario to write NGI-S or NGI-U into the XML file.