Bug fixes acgh and rnaseq upload pipeline (TMART-188)

@forus has recently removed a bunch of (needless to say, copy pasted) code that looks like this. See  996256cdafc14f7768f8295ed431dc1cd603b42f. I'm guessing this shouldn't be included.