def getReadGroupString(samtools, inBamVar):
    """Will print the bash command that will extract a given read group string
    from a

    THIS HAS SOME ALTERATIONS FROM THE ORIGINAL AND SHOULD BE TESTED """
    return '$(' + samtools + ' view -H $' + inBamVar + """ 2>> $logFile | grep "@RG"| sed "s:\\t:\\\\t:g"| sed "s:\\t:\\\\t:g\"
"""
