def GetFilename(self, identifier):

        if self.mOutputPattern:
            return re.sub("%s", str(identifier), self.mOutputPattern)
        else:
            return identifier
get filename for an identifier.
dataset/ETHPy150Open CGATOxford/cgat/scripts/split_fasta.py/Files.GetFilename